Use image without extension desktop-base desktop-background

This commit is contained in:
Daniel Ruiz de Alegría 2024-01-24 09:49:02 +01:00
parent 3f1bb676c0
commit a30690ea82
No known key found for this signature in database
GPG Key ID: 59667A77E8BFCB6C
3 changed files with 8 additions and 3 deletions

3
debian/changelog vendored
View File

@ -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 <daniruiz@kali.org> Mon, 22 Jan 2024 14:46:04 +0100
-- Daniel Ruiz de Alegría <daniruiz@kali.org> Wed, 24 Jan 2024 08:38:33 +0100
kali-themes (2023.4.5) kali-dev; urgency=medium

View File

@ -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

View File

@ -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 \