summaryrefslogtreecommitdiffstats
path: root/debian/xebian-artwork.postrm
blob: 51d67170a25ff1cacef5e023d6272eb5504a0598 (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
28
#!/bin/sh

set -e

case "$1" in
    remove)
	if update-alternatives --query newt-palette | grep -qs "Value: /etc/newt/palette.original"; then
		update-alternatives --auto newt-palette
	fi
	;;

    purge)
	;;

    upgrade|failed-upgrade|disappear)
	;;

    abort-install|abort-upgrade)
	;;

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

#DEBHELPER#
exit 0