summaryrefslogtreecommitdiffstats
path: root/ubuntu/raring/defaultsettings/desktop-base/debian/prerm
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-06-01 02:04:45 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-06-01 02:04:45 -0500
commit6f8b29e1fa4d7c4f8676dbded0b9fde3e9acd207 (patch)
tree4613d1f6dd2471c02d32d72193426a4659432d0c /ubuntu/raring/defaultsettings/desktop-base/debian/prerm
parenta6d46f81f053a75f8584f8e0b04e48f93dfc1532 (diff)
downloadtde-packaging-6f8b29e1fa4d7c4f8676dbded0b9fde3e9acd207.tar.gz
tde-packaging-6f8b29e1fa4d7c4f8676dbded0b9fde3e9acd207.zip
Add initial copy of the old Debian desktop-base package to the Debian and Ubuntu packaging files
Diffstat (limited to 'ubuntu/raring/defaultsettings/desktop-base/debian/prerm')
-rw-r--r--ubuntu/raring/defaultsettings/desktop-base/debian/prerm51
1 files changed, 51 insertions, 0 deletions
diff --git a/ubuntu/raring/defaultsettings/desktop-base/debian/prerm b/ubuntu/raring/defaultsettings/desktop-base/debian/prerm
new file mode 100644
index 000000000..bf67f87d8
--- /dev/null
+++ b/ubuntu/raring/defaultsettings/desktop-base/debian/prerm
@@ -0,0 +1,51 @@
+#!/bin/sh -e
+
+#DEBHELPER#
+
+if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
+ # remove background alternatives
+ update-alternatives --remove desktop-background \
+ /usr/share/images/desktop-base/moreblue-orbit-wallpaper.svg
+
+ update-alternatives --remove desktop-background \
+ /usr/share/images/desktop-base/moreblue-orbit-wallpaper-widescreen.svg
+
+ update-alternatives --remove desktop-background \
+ /usr/share/images/desktop-base/nightly-wallpaper.png
+
+ update-alternatives --remove desktop-background \
+ /usr/share/images/desktop-base/debian-blueish-wallpaper.svg
+
+ update-alternatives --remove desktop-background \
+ /usr/share/images/desktop-base/debblue-1600x1200.png
+
+ update-alternatives --remove desktop-background \
+ /usr/share/images/desktop-base/debian-background.svg
+
+ update-alternatives --remove desktop-background \
+ /usr/share/images/desktop-base/bluedeb-1024x768.jpg
+
+ update-alternatives --remove desktop-background \
+ /usr/share/images/desktop-base/Debian.jpg
+
+ # remove splash alternatives
+ update-alternatives --remove desktop-splash \
+ /usr/share/images/desktop-base/moreblue-orbit-splash.png
+
+ update-alternatives --remove desktop-splash \
+ /usr/share/images/desktop-base/gnome-splash-curves.png
+
+ update-alternatives --remove desktop-splash \
+ /usr/share/images/desktop-base/Splash-debblue.png
+
+ update-alternatives --remove desktop-splash \
+ /usr/share/images/desktop-base/Splash-Debian.png
+
+ update-alternatives --remove desktop-splash \
+ /usr/share/images/desktop-base/Splash-Debian_red.png
+
+ # remove grub alternatives
+ update-alternatives --remove desktop-grub \
+ /usr/share/images/desktop-base/moreblue-orbit-grub.png
+fi
+