From 12a2e20f821b780debacdf95905129ea1748d546 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Hertzog?= Date: Mon, 4 May 2020 16:47:52 +0200 Subject: [PATCH] Minor fixes to old code Some removal code was using the wrong alternative. And a minor typo. --- debian/kali-desktop-base.postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/kali-desktop-base.postinst b/debian/kali-desktop-base.postinst index 6ff10407..e3ed13e8 100644 --- a/debian/kali-desktop-base.postinst +++ b/debian/kali-desktop-base.postinst @@ -92,7 +92,7 @@ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-remov # before updating. sync # Report success whatever grub return status. This is needed at least - # in live systems fon installation to succeed (see #850601). + # in live systems for installation to succeed (see #850601). # Until we find a better solution like detecting we’re in a live image # and not calling update-grub at all. update-grub || echo "Updating grub failed, report success anyway!" @@ -129,7 +129,7 @@ kali 3840x2160.svg EOF # Remove gnome-background.xml alternatives update-alternatives --remove \ - desktop-background \ + desktop-background.xml \ /usr/share/desktop-base/kali-theme/wallpaper/gnome-background.xml # Remove desktop-lockscreen.xml alternatives