Sophie

Sophie

distrib > Mandriva > 2007.1 > x86_64 > media > contrib-release > by-pkgid > 16a7bbb4ba89a204f00dfc4a428a8f39 > scriptlet

wwwoffle-2.9b-1mdv2007.1.x86_64.rpm

PREUN

/bin/sh
/etc/rc.d/init.d/wwwoffled status | grep running && /etc/rc.d/init.d/wwwoffled stop
if [ $1 = 0 ]; then    
	# execute this only if we are NOT doing an upgrade
	/sbin/chkconfig --del wwwoffled
fi

POSTIN

/bin/sh
/sbin/chkconfig --add wwwoffled
if [ $1 = 0 ]; then
	/etc/rc.d/init.d/wwwoffled start
fi