35 lines
503 B
Bash
35 lines
503 B
Bash
#!/bin/sh
|
|
|
|
case "$1" in
|
|
remove|purge|abort-install|abort-upgrade)
|
|
# This package is being removed, but its configuration has not yet
|
|
# been purged.
|
|
|
|
# stud shouldn't start at system startup
|
|
# update-rc.d -f stud remove
|
|
|
|
# remove rundir
|
|
rm -rf /var/run/stud >/dev/null 2>&1
|
|
|
|
# remove config dir
|
|
rm -rf /etc/stud >/dev/null 2>&1
|
|
|
|
;;
|
|
|
|
disappear)
|
|
;;
|
|
|
|
upgrade)
|
|
;;
|
|
|
|
failed-upgrade)
|
|
;;
|
|
|
|
*) echo "$0: didn't understand being called with \`$1'" 1>&2
|
|
exit 1;;
|
|
esac
|
|
|
|
exit 0
|
|
|
|
# EOF
|