Files
desktop-base/debian/prerm
T
Gustavo Noronha Silva f5af48dc84 changing name of the debblue splash to conform to the "standard"
naming convention I adopted

  * postinst, prerm:
  - use alternatives to provide the default background and splash

no longer create a splash_default link in Makefile, no longer provide
grub stuff
2004-10-24 15:37:47 +00:00

25 lines
774 B
Bash

#!/bin/sh -e
#DEBHELPER#
if [ "$1" = "remove" -o "$1" = "deconfigure" ]; then
# remove background alternatives
update-alternatives --remove desktop-background \
/usr/share/images/desktop-base/debblue-1600x1200.png
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/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
fi