From 1fd6c8886c6dcd941969cb90627f1074e966937b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Hertzog?= Date: Thu, 7 Nov 2019 10:10:21 +0100 Subject: [PATCH] Fix path to grub backgrounds in update-alternatives calls --- debian/kali-desktop-base.postinst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/kali-desktop-base.postinst b/debian/kali-desktop-base.postinst index 63d75829..2bc981b8 100644 --- a/debian/kali-desktop-base.postinst +++ b/debian/kali-desktop-base.postinst @@ -68,18 +68,18 @@ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-remov grub_first_ratio="4x3" grub_second_ratio="16x9" fi - active_grub_first_ratio=/boot/grub/themes/kali/grub-${grub_first_ratio}.png - active_grub_second_ratio=/boot/grub/themes/kali/grub-${grub_second_ratio}.png + active_grub_first_ratio=/usr/share/grub/themes/kali/grub-${grub_first_ratio}.png + active_grub_second_ratio=/usr/share/grub/themes/kali/grub-${grub_second_ratio}.png update-alternatives --install \ /usr/share/images/desktop-base/desktop-grub.png \ desktop-grub ${active_grub_first_ratio} 200 \ --slave /usr/share/desktop-base/grub_background.sh \ - desktop-grub.sh /boot/grub/themes/kali/grub_background.sh + desktop-grub.sh /usr/share/grub/themes/kali/grub_background.sh update-alternatives --install \ /usr/share/images/desktop-base/desktop-grub.png \ desktop-grub ${active_grub_second_ratio} 190 \ --slave /usr/share/desktop-base/grub_background.sh \ - desktop-grub.sh /boot/grub/themes/kali/grub_background.sh + desktop-grub.sh /usr/share/grub/themes/kali/grub_background.sh # Apply GRUB background update into /boot # Try detecting active grub packages (so not -doc, -common, -bin) as a hint