From ee694552d51fd8c3c18d87ac3cd368beced4a23e Mon Sep 17 00:00:00 2001 From: Fathi Boudra Date: Wed, 9 Jan 2008 14:44:36 +0000 Subject: [PATCH] Clean-up --- debian/postinst | 2 +- debian/prerm | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/debian/postinst b/debian/postinst index 475336e..15a8109 100644 --- a/debian/postinst +++ b/debian/postinst @@ -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 diff --git a/debian/prerm b/debian/prerm index 625887f..f822f4b 100644 --- a/debian/prerm +++ b/debian/prerm @@ -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