From b843f363e75fba30dcbfff5c6ae0f77301dfe991 Mon Sep 17 00:00:00 2001 From: Arnaud Rebillout Date: Tue, 9 Nov 2021 18:46:18 +0700 Subject: [PATCH] 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. --- debian/kali-themes.postinst | 22 ---------------------- debian/kali-themes.postrm | 3 +-- 2 files changed, 1 insertion(+), 24 deletions(-) diff --git a/debian/kali-themes.postinst b/debian/kali-themes.postinst index 14d341f6..44716f36 100644 --- a/debian/kali-themes.postinst +++ b/debian/kali-themes.postinst @@ -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 diff --git a/debian/kali-themes.postrm b/debian/kali-themes.postrm index 31a5b6fe..4799dcbb 100644 --- a/debian/kali-themes.postrm +++ b/debian/kali-themes.postrm @@ -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 \