Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 5f4176966ef8e7d1e5070daab77372ab > scriptlet

openvas-manager-2.0.3-1.fc15.i686.rpm

PREUN

/bin/sh
if [ "$1" -eq 0 ] ; then
	/sbin/service openvas-manager stop >/dev/null 2>&1
	/sbin/chkconfig --del openvas-manager
fi

POSTIN

/bin/sh
# This adds the proper /etc/rc*.d links for the script
if [ "$1" -eq 1 ] ; then
	/sbin/chkconfig --add openvas-manager
fi

POSTUN

/bin/sh
# only for upgrades not erasure
if [ "$1" -eq 1 ] ; then
	/sbin/service openvas-manager condrestart  >/dev/null 2>&1
fi