summaryrefslogtreecommitdiffstats
path: root/debian/xebian-artwork.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/xebian-artwork.postrm')
-rwxr-xr-xdebian/xebian-artwork.postrm28
1 files changed, 28 insertions, 0 deletions
diff --git a/debian/xebian-artwork.postrm b/debian/xebian-artwork.postrm
new file mode 100755
index 0000000..51d6717
--- /dev/null
+++ b/debian/xebian-artwork.postrm
@@ -0,0 +1,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