aboutsummaryrefslogtreecommitdiff
path: root/debian/chicago95-theme-plymouth.postinst
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-05-14 11:38:50 -0400
committerB Stack <bgstack15@gmail.com>2020-05-14 11:42:07 -0400
commitad1eb2590983634cb5549be1fbe1f2bae8a24d01 (patch)
treec2924c2c63bf4a3652590f60460f26c81ec78e24 /debian/chicago95-theme-plymouth.postinst
parentmove dh compat down to 9 (diff)
downloadchicago95-packages-ad1eb2590983634cb5549be1fbe1f2bae8a24d01.tar.gz
chicago95-packages-ad1eb2590983634cb5549be1fbe1f2bae8a24d01.tar.bz2
chicago95-packages-ad1eb2590983634cb5549be1fbe1f2bae8a24d01.zip
remove directory for each dpkg distro
The Open Build Service uses the one debian/ and .dsc contents to build for all dpkg targets.
Diffstat (limited to 'debian/chicago95-theme-plymouth.postinst')
-rw-r--r--debian/chicago95-theme-plymouth.postinst19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/chicago95-theme-plymouth.postinst b/debian/chicago95-theme-plymouth.postinst
new file mode 100644
index 0000000..43f31b1
--- /dev/null
+++ b/debian/chicago95-theme-plymouth.postinst
@@ -0,0 +1,19 @@
+#!/bin/sh
+set -e
+
+case "$1" in
+ configure| abort-upgrade|abort-remove|abort-deconfigure)
+ update-alternatives --install /usr/share/plymouth/themes/default.plymouth default.plymouth /usr/share/plymouth/themes/Chicago95/Chicago95.plymouth 80
+ update-alternatives --install /usr/share/plymouth/themes/default.plymouth default.plymouth /usr/share/plymouth/themes/RetroTux/RetroTux.plymouth 70
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+esac
+
+
+#DEBHELPER#
+
+exit 0
bgstack15