Drop diversion of Debian wallpapers

The package desktop-base was forked for Kali, and the various Debian
wallpapers are now disabled in the desktop-base package.
This commit is contained in:
Arnaud Rebillout 2021-11-09 18:46:18 +07:00
parent 5e787b21a5
commit b843f363e7
No known key found for this signature in database
GPG Key ID: E725E87914600216
2 changed files with 1 additions and 24 deletions

View File

@ -114,29 +114,7 @@ if [ "$1" = "configure" ]; then
--divert "$(dirname $file)/disabled/$(basename $file)" \
--add "$file"
done << EOF
/usr/share/gnome-background-properties/debian-futureprototype.xml
/usr/share/gnome-background-properties/debian-homeworld.xml
/usr/share/gnome-background-properties/debian-joy-inksplat.xml
/usr/share/gnome-background-properties/debian-joy.xml
/usr/share/gnome-background-properties/debian-lines.xml
/usr/share/gnome-background-properties/debian-moonlight.xml
/usr/share/gnome-background-properties/debian-softwaves.xml
/usr/share/gnome-background-properties/debian-spacefun.xml
/usr/share/gnome-background-properties/gnome-backgrounds.xml
/usr/share/wallpapers/FuturePrototype
/usr/share/wallpapers/FuturePrototypeWithLogo
/usr/share/wallpapers/homeworld
/usr/share/wallpapers/homeworld_wallpaper
/usr/share/wallpapers/Joy
/usr/share/wallpapers/JoyInksplat
/usr/share/wallpapers/JoyLockScreen
/usr/share/wallpapers/Lines
/usr/share/wallpapers/LinesLockScreen
/usr/share/wallpapers/moonlight
/usr/share/wallpapers/MoonlightLockScreen
/usr/share/wallpapers/SoftWaves
/usr/share/wallpapers/SoftWavesLockScreen
/usr/share/wallpapers/SpaceFun
EOF
# Configure /root/.face to have a red-background avatar
if [ ! -e /root/.face ]; then

View File

@ -42,8 +42,7 @@ case "$1" in
--remove "$file"
done
# Recover disabled backgrounds
for dir in /usr/share/gnome-background-properties \
/usr/share/wallpapers; do
for dir in /usr/share/gnome-background-properties; do
dpkg-divert --list "$dir/disabled/*" \
| grep 'kali-themes$' \
| cut -d ' ' -f 3,5 \