* Add Homepage field. * Remove DM-Upload-Allowed: yes; All Uploaders are DD. * Provide 640x480 TGA version of debian-blueish-wallpaper.svg for GRUB 2.
41 lines
1.3 KiB
Bash
41 lines
1.3 KiB
Bash
#!/bin/sh -e
|
|
|
|
#DEBHELPER#
|
|
|
|
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
|
|
# remove background alternatives
|
|
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/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
|
|
|
|
rm -f /usr/share/images/desktop-base/debian-blueish-wallpaper-640x480.tga
|
|
if which update-grub2 2> /dev/null ; then
|
|
update-grub2
|
|
fi
|
|
fi
|
|
|