PREIN
/bin/sh
/usr/share/rpm-helper/add-user apache-conf $1 apache /var/www /bin/sh
PREUN
/bin/sh
/usr/share/rpm-helper/del-service apache-conf $1 httpd
POSTIN
/bin/sh
if [ $1 = "1" ]; then
/usr/share/ADVX/advx-checkifmigrate
fi
/usr/share/rpm-helper/add-service apache-conf $1 httpd
if [ -f /var/lock/subsys/httpd ]; then
/etc/rc.d/init.d/httpd restart 1>&2;
fi
POSTUN
/bin/sh
/usr/share/rpm-helper/del-user apache-conf $1 apache
if [ "$1" = "0" ]; then
if [ -f /var/lock/subsys/httpd ]; then
/etc/rc.d/init.d/httpd restart 1>&2
fi
fi