summaryrefslogtreecommitdiffstats
path: root/ubuntu/raring/defaultsettings/desktop-base/debian/prerm
blob: bf67f87d8f728b902b06a36e595242b9f99c7f93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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