File: prerm

package info (click to toggle)
desktop-base 6.0.5squeeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 12,092 kB
  • ctags: 8
  • sloc: xml: 556; sh: 194; makefile: 68
file content (45 lines) | stat: -rw-r--r-- 1,604 bytes parent folder | download
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
#!/bin/sh -e

#DEBHELPER#

if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
    # remove background alternatives
    update-alternatives --remove desktop-background \
        /usr/share/images/desktop-base/spacefun-wallpaper.svg

    update-alternatives --remove desktop-background \
        /usr/share/images/desktop-base/spacefun-wallpaper-widescreen.svg

    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

    # remove splash alternatives
    update-alternatives --remove desktop-splash \
        /usr/share/images/desktop-base/spacefun-splash.svg

    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

    # remove grub alternatives
    update-alternatives --remove desktop-grub \
        /usr/share/images/desktop-base/spacefun-grub.png

    update-alternatives --remove desktop-grub \
        /usr/share/images/desktop-base/spacefun-grub-widescreen.png

    update-alternatives --remove desktop-grub \
        /usr/share/images/desktop-base/moreblue-orbit-grub.png
fi