This commit is contained in:
Fathi Boudra
2008-01-09 14:44:36 +00:00
parent 6b7e5f6ef0
commit ee694552d5
2 changed files with 2 additions and 3 deletions

2
debian/postinst vendored
View File

@@ -59,7 +59,7 @@ if [ "$1" = "configure" -o "$1" = "abort-upgrade" ]; then
/usr/share/images/desktop-base/Splash-Debian_red.png 10
# GRUB background
if which update-grub2 2> /dev/null ; then
if which update-grub2 > /dev/null ; then
update-grub2
fi
fi

3
debian/prerm vendored
View File

@@ -32,8 +32,7 @@ if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
update-alternatives --remove desktop-splash \
/usr/share/images/desktop-base/Splash-Debian_red.png
rm -f /usr/share/images/desktop-base/debian-blueish-wallpaper-640x480.tga
if which update-grub2 2> /dev/null ; then
if which update-grub2 > /dev/null ; then
update-grub2
fi
fi