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