PREIN
/bin/sh
if rpm -q warewulf-wulfd | grep 2.4 >/dev/null 2>&1 ; then echo "Warewulf 2.6.1 is not intended to update previous versions." echo "Backup /etc/warewulf and remove the previous version before" echo "installing this version. Reconfigure Warewulf manually by consulting" echo "the old configuration saved earlier." exit 1 fi
PREUN
/bin/sh
/usr/share/rpm-helper/del-service warewulf $1 wulfd
POSTIN
/bin/sh
/usr/share/rpm-helper/add-service warewulf $1 wulfd