Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > 9ab92a7924912b445d05a69012189bee > scriptlet

junkbuster-2.0.2-6mdk.i586.rpm

PREIN

/bin/sh
if [ -f /etc/rc.d/init.d/junkbuster.init ]; then
        /etc/rc.d/init.d/junkbuster.init stop
fi
if [ -f /etc/rc.d/init.d/junkbuster ]; then
        /etc/rc.d/init.d/junkbuster stop
fi
rm -f /usr/local/bin/junkbuster
rm -f /usr/local/man/man1/junkbuster.1

if test -d /var/log/junkbuster
then
	mv -f /var/log/junkbuster /var/log/junkbuster.rpmorig
fi

PREUN

/bin/sh
if [ -f /etc/rc.d/init.d/junkbuster.init ]; then
        /etc/rc.d/init.d/junkbuster.init stop
fi
if [ -f /etc/rc.d/init.d/junkbuster ]; then
        /etc/rc.d/init.d/junkbuster stop
fi

POSTIN

/bin/sh
cat << EOT >&2

Now you'll need to start junkbuster with 

	/etc/rc.d/init.d/junkbuster start

or simply reboot; It will be started automatically at boot time. 
Don't forget to add the proxy stuff in Netscape.

EOT