f5af48dc84
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
25 lines
774 B
Bash
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 |