* Move update-grub2 hook to postrm instead of prerm.
This commit is contained in:
Vendored
+6
@@ -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 ]
|
||||
|
||||
Vendored
+10
@@ -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
|
||||
|
||||
Vendored
-4
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user