Bug#1035431: desktop-base: leaves alternatives after purge:
Followup-For: Bug #1035431
Control: tag -1 patch
Please see the attached patch for fixing the prerm.
The git repository is not up-to-date. (The last upload is missing.)
Andreas
>From 7c3d3f5dc2027af7281038d60d4c89d5eda68716 Mon Sep 17 00:00:00 2001
From: Andreas Beckmann <anbe@debian.org>
Date: Mon, 15 May 2023 18:27:43 +0200
Subject: [PATCH] prerm: Remove the emerald alternatives, too
Closes: #1035431
---
debian/prerm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/debian/prerm b/debian/prerm
index 91d97f4..6017fef 100644
--- a/debian/prerm
+++ b/debian/prerm
@@ -16,6 +16,7 @@ if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
desktop-background \
/usr/share/desktop-base/$theme-theme/wallpaper/contents/images/$filename
done << EOF
+emerald 1920x1080.svg
homeworld 1920x1080.svg
futureprototype 1920x1080.svg
moonlight 1920x1080.svg
@@ -58,6 +59,7 @@ EOF
desktop-background.xml \
/usr/share/desktop-base/$theme-theme/wallpaper/gnome-background.xml
done << EOF
+emerald
homeworld
futureprototype
moonlight
@@ -79,6 +81,7 @@ EOF
desktop-lockscreen.xml \
/usr/share/desktop-base/$theme-theme/lockscreen/gnome-background.xml
done << EOF
+emerald
homeworld
futureprototype
moonlight
@@ -99,6 +102,7 @@ EOF
desktop-plasma5-wallpaper \
/usr/share/desktop-base/$theme-theme/wallpaper
done << EOF
+emerald
homeworld
futureprototype
moonlight
@@ -121,6 +125,7 @@ EOF
desktop-login-background \
/usr/share/desktop-base/$theme-theme/login/$background
done << EOF
+emerald background.svg
homeworld background.svg
futureprototype background.svg
moonlight background.svg
@@ -141,6 +146,8 @@ EOF
desktop-grub \
/usr/share/desktop-base/$theme-theme/grub/grub-$ratio.png
done << EOF
+emerald 4x3
+emerald 16x9
homeworld 4x3
homeworld 16x9
futureprototype 4x3
@@ -182,6 +189,7 @@ EOF
desktop-theme \
/usr/share/desktop-base/$theme-theme
done << EOF
+emerald
futureprototype
moonlight
softwaves
--
2.20.1
Reply to: