X-Git-Url: http://git.grml.org/?p=grml-rescueboot.git;a=blobdiff_plain;f=debian%2Fpostrm;h=6291c9000e40654f4322d646609609d715c5c710;hp=a8fc88313894218980931a24ed923048f9686a78;hb=90a2b1e35222a49e07cbcf9a2339a2e1be6c5931;hpb=39cb619b74bd0dbd2c4a038699ad181cd1fd53ca diff --git a/debian/postrm b/debian/postrm index a8fc883..6291c90 100644 --- a/debian/postrm +++ b/debian/postrm @@ -1,27 +1,12 @@ #!/bin/sh # postrm script for grml-rescueboot -# -# see: dh_installdeb(1) set -e -# summary of how this script can be called: -# * `remove' -# * `purge' -# * `upgrade' -# * `failed-upgrade' -# * `abort-install' -# * `abort-install' -# * `abort-upgrade' -# * `disappear' -# -# for details, see http://www.debian.org/doc/debian-policy/ or -# the debian-policy package - - case "$1" in purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - /usr/sbin/update-grub + echo "Updating grub.cfg to make sure there are no non-existing entries being left." + update-grub ;; *) @@ -30,9 +15,6 @@ case "$1" in ;; esac -# dh_installdeb will replace this with shell code automatically -# generated by other debhelper scripts. - #DEBHELPER# exit 0