* Move update-grub2 hook to postrm instead of prerm.

This commit is contained in:
Fathi Boudra
2008-01-14 13:46:09 +00:00
parent b5e17f71b8
commit 2cd29d345f
3 changed files with 16 additions and 4 deletions
+6
View File
@@ -1,3 +1,9 @@
desktop-base (4.0.6) UNRELEASED; urgency=low
* Move update-grub2 hook to postrm instead of prerm.
-- Fathi Boudra <fabo@debian.org> Mon, 14 Jan 2008 14:44:26 +0100
desktop-base (4.0.5) unstable; urgency=low
[ Fathi Boudra ]
+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh -e
#DEBHELPER#
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
if which update-grub2 > /dev/null ; then
update-grub2
fi
fi
-4
View File
@@ -31,9 +31,5 @@ if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
update-alternatives --remove desktop-splash \
/usr/share/images/desktop-base/Splash-Debian_red.png
if which update-grub2 > /dev/null ; then
update-grub2
fi
fi