Files
desktop-base/debian/prerm
T
Yves-Alexis Perez ca61010655 * Initial support for Lines theme by Juliette Belin.
- add the various ratio SVG wallpapers to backgrounds/ 
  - debian/{postinst,prerm}: update alternatives priority to make Lines the
    automatic/default one
  - gdm3/background.svg updated to use Lines login screen
  - grub/lines-grub.png added.
  - Makefile: install lines-grub grub background.
2014-10-11 13:08:46 +00:00

50 lines
1.6 KiB
Bash

#!/bin/sh -e
set -e
#DEBHELPER#
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
# remove background alternatives
for background in \
lines-wallpaper_1280_1024.svg \
lines-wallpaper_1600_1200.svg \
lines-wallpaper_1920x1080.svg \
lines-wallpaper_1920x1200.svg \
lines-wallpaper_2560x1080.svg \
joy-wallpaper_1600x1200.svg \
joy-wallpaper_1600x1200.svg \
joy-wallpaper_1280x1024.svg \
joy-wallpaper_1920x1080.svg \
joy-wallpaper_1920x1200.svg \
joy-inksplat-wallpaper_1920x1080.svg \
spacefun-wallpaper.svg \
spacefun-wallpaper-widescreen.svg \
moreblue-orbit-wallpaper.svg \
moreblue-orbit-wallpaper-widescreen.svg \
nightly-wallpaper.png \
debian-blueish-wallpaper.svg \
; do
update-alternatives --remove desktop-background /usr/share/images/desktop-base/$background
done
update-alternatives --remove desktop-background.xml /usr/share/images/desktop-base/joy.xml
# remove splash alternatives
for splash in \
spacefun-splash.svg \
moreblue-orbit-splash.png \
gnome-splash-curves.png \
; do
update-alternatives --remove desktop-splash /usr/share/images/desktop-base/$splash
done
# remove grub alternatives
for background in \
lines-grub.png \
joy-grub.png \
spacefun-grub.png \
spacefun-grub-widescreen.png \
; do
update-alternatives --remove desktop-grub /usr/share/images/desktop-base/$background
done
fi