Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > media > main > by-pkgid > 52548e0adbdcfb6782435096735230fc > scriptlet

apache-conf-2.0.53-5mdk.i586.rpm

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