Minor packaging updates, ACKed by Jimmy.
[grml-rescueboot.git] / debian / postrm
1 #!/bin/sh
2 # postrm script for grml-rescueboot
3
4 set -e
5
6 case "$1" in
7     purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
8       echo "Updating grub.cfg to make sure there are no non-existing entries being left."
9       update-grub
10     ;;
11
12     *)
13         echo "postrm called with unknown argument \`$1'" >&2
14         exit 1
15     ;;
16 esac
17
18 #DEBHELPER#
19
20 exit 0