summaryrefslogtreecommitdiffstats
path: root/debian/xebian-default-settings.postrm
blob: ee1d592d2b2b2731db2a584a6ea736d9aca458c5 (plain) (blame)
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
#!/bin/sh
set -e

case "$1" in
    remove)
        ;;

    purge)
        if update-alternatives --query x-cursor-theme | grep -qs "Value: /usr/share/icons/DMZ-White/cursor.theme"; then
                update-alternatives --auto x-cursor-theme
        fi
        ;;

    upgrade|failed-upgrade|disappear)
        ;;

    abort-install|abort-upgrade)
        ;;

    *)
        echo "$0 called with unknown argument \`$1'" 1>&2
        exit 1
        ;;
esac

#DEBHELPER#
exit 0