Sophie

Sophie

distrib > Mandriva > 7.1 > i586 > by-pkgid > de39a0afd2408b5e104c351b176e271c > scriptlet

piranha-0.4.14-1mdk.i586.rpm

PREIN

/bin/sh
/usr/sbin/groupadd -g 60 -r -f piranha > /dev/null 2>&1 ||:
/usr/sbin/useradd -u 60 -g 60 -d /home/httpd/html/piranha -r -s \
	/dev/null piranha > /dev/null 2>&1 ||:

touch /etc/lvs.cf
chmod 664 /etc/lvs.cf
chown piranha.nobody /etc/lvs.cf

PREUN

/bin/sh
if [ $1 = 0 ]; then
	/sbin/chkconfig --del pulse
fi

POSTIN

/bin/sh
/sbin/chkconfig --add pulse

POSTUN

/bin/sh
if [ "$1" = 0 ] ; then
        userdel piranha
fi