diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-04-03 22:56:40 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-04-03 22:56:40 +0900 |
commit | 11394aecd1f906fee2ebd2b90412aeba4651fbff (patch) | |
tree | bcf750380e6d9fc7dbe524e16bbe2afde25dcfa0 /ubuntu/_base/defaultsettings/desktop-base/debian/prerm | |
parent | d24bd898174453b586ac90f2ef7a60165fa26fde (diff) | |
download | tde-packaging-11394aecd1f906fee2ebd2b90412aeba4651fbff.tar.gz tde-packaging-11394aecd1f906fee2ebd2b90412aeba4651fbff.zip |
DEB: use _base folder for a distro instead of specific distros (squeeze
and maverick).
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ubuntu/_base/defaultsettings/desktop-base/debian/prerm')
-rw-r--r-- | ubuntu/_base/defaultsettings/desktop-base/debian/prerm | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/ubuntu/_base/defaultsettings/desktop-base/debian/prerm b/ubuntu/_base/defaultsettings/desktop-base/debian/prerm new file mode 100644 index 000000000..bf67f87d8 --- /dev/null +++ b/ubuntu/_base/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 + |