summaryrefslogtreecommitdiffstats
path: root/debian/xebian-artwork.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/xebian-artwork.postinst')
-rwxr-xr-xdebian/xebian-artwork.postinst23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/xebian-artwork.postinst b/debian/xebian-artwork.postinst
new file mode 100755
index 0000000..cd780f5
--- /dev/null
+++ b/debian/xebian-artwork.postinst
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+set -e
+
+case "$1" in
+ configure)
+ # Xebian prefers legacy newt colors over Aubergine by default
+ if update-alternatives --query newt-palette | grep -qs "Status: auto"; then
+ update-alternatives --set newt-palette /etc/newt/palette.original
+ fi
+ ;;
+
+ abort-upgrade|abort-deconfigure|abort-remove)
+ ;;
+
+ *)
+ echo "$0 called with unknown argument \`$1'" 1>&2
+ exit 1
+ ;;
+esac
+
+#DEBHELPER#
+exit 0