Use image without extension desktop-base desktop-background
This commit is contained in:
parent
3f1bb676c0
commit
a30690ea82
3
debian/changelog
vendored
3
debian/changelog
vendored
@ -9,8 +9,9 @@ kali-themes (2024.1.0) kali-dev; urgency=medium
|
|||||||
* Add bottom black gradient to iso boot background
|
* Add bottom black gradient to iso boot background
|
||||||
* Configure new default wallpapers
|
* Configure new default wallpapers
|
||||||
* Use jpg file for background and login images
|
* 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
|
kali-themes (2023.4.5) kali-dev; urgency=medium
|
||||||
|
|
||||||
|
|||||||
6
debian/kali-desktop-base.postinst
vendored
6
debian/kali-desktop-base.postinst
vendored
@ -30,7 +30,7 @@ if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-remov
|
|||||||
# Desktop background alternatives
|
# Desktop background alternatives
|
||||||
update-alternatives --install \
|
update-alternatives --install \
|
||||||
/usr/share/images/desktop-base/desktop-background \
|
/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
|
# Set up an alternative for the XML version of the background
|
||||||
# (for GNOME)
|
# (for GNOME)
|
||||||
@ -177,6 +177,10 @@ EOF
|
|||||||
desktop-login-background \
|
desktop-login-background \
|
||||||
/usr/share/backgrounds/kali/kali-light.svg
|
/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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
2
debian/kali-desktop-base.prerm
vendored
2
debian/kali-desktop-base.prerm
vendored
@ -10,7 +10,7 @@ if [ "$1" = "remove" ]; then
|
|||||||
# Remove background alternatives for theme packages
|
# Remove background alternatives for theme packages
|
||||||
update-alternatives --remove \
|
update-alternatives --remove \
|
||||||
desktop-background \
|
desktop-background \
|
||||||
/usr/share/desktop-base/kali-theme/wallpaper/contents/images/3840x2160.png
|
/usr/share/backgrounds/kali-16x9/default
|
||||||
|
|
||||||
# Remove desktop-background.xml alternatives
|
# Remove desktop-background.xml alternatives
|
||||||
update-alternatives --remove \
|
update-alternatives --remove \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user