diff --git a/debian/changelog b/debian/changelog index 3d508f34..d258ff86 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,8 +9,9 @@ kali-themes (2024.1.0) kali-dev; urgency=medium * Add bottom black gradient to iso boot background * Configure new default wallpapers * Use jpg file for background and login images + * Use image without extension desktop-base desktop-background - -- Daniel Ruiz de Alegría Mon, 22 Jan 2024 14:46:04 +0100 + -- Daniel Ruiz de Alegría Wed, 24 Jan 2024 08:38:33 +0100 kali-themes (2023.4.5) kali-dev; urgency=medium diff --git a/debian/kali-desktop-base.postinst b/debian/kali-desktop-base.postinst index a1418973..9cd279e0 100644 --- a/debian/kali-desktop-base.postinst +++ b/debian/kali-desktop-base.postinst @@ -30,7 +30,7 @@ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-remov # Desktop background alternatives update-alternatives --install \ /usr/share/images/desktop-base/desktop-background \ - desktop-background /usr/share/desktop-base/kali-theme/wallpaper/contents/images/3840x2160.png 210 + desktop-background /usr/share/backgrounds/kali-16x9/default 210 # Set up an alternative for the XML version of the background # (for GNOME) @@ -177,6 +177,10 @@ EOF desktop-login-background \ /usr/share/backgrounds/kali/kali-light.svg + elif dpkg --compare-versions "$2" lt-nl "2024.1.0"; then + update-alternatives --remove \ + desktop-background \ + /usr/share/desktop-base/kali-theme/wallpaper/contents/images/3840x2160.png fi fi diff --git a/debian/kali-desktop-base.prerm b/debian/kali-desktop-base.prerm index 39ab0173..fc66446c 100644 --- a/debian/kali-desktop-base.prerm +++ b/debian/kali-desktop-base.prerm @@ -10,7 +10,7 @@ if [ "$1" = "remove" ]; then # Remove background alternatives for theme packages update-alternatives --remove \ desktop-background \ - /usr/share/desktop-base/kali-theme/wallpaper/contents/images/3840x2160.png + /usr/share/backgrounds/kali-16x9/default # Remove desktop-background.xml alternatives update-alternatives --remove \