prerm is in sobby 0.4.8-2.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #!/bin/sh
# vim:set et ts=2 sw=2:
set -e
# Make sure the autosave file is actually writeable before stopping the
# server.
if [ -d /var/lib/sobby ]; then
chown -R sobby:sobby /var/lib/sobby
chmod 0750 /var/lib/sobby
fi
# Automatically added by dh_installinit
if [ -x "/etc/init.d/sobby" ] || [ -e "/etc/init/sobby.conf" ]; then
invoke-rc.d sobby stop || exit $?
fi
# End automatically added section
|