This file is indexed.

prerm is in desktop-base 6.0.7ubuntu1.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 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
#!/bin/sh -e

# Automatically added by dh_installdeb
dpkg-maintscript-helper rm_conffile /etc/kde3/kdeglobals 6.0.1 -- "$@"
# End automatically added section


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