summaryrefslogtreecommitdiff
path: root/chicago95/debian/chicago95-theme-plymouth.postinst
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-09-10 23:10:44 -0400
committerB Stack <bgstack15@gmail.com>2019-09-10 23:10:44 -0400
commit0313a4089306caedfdc001644a4b4ec76cb2d31a (patch)
tree5ebfa4c55347bd7cc8ce35e118b5f42a2670d43e /chicago95/debian/chicago95-theme-plymouth.postinst
parentMerge branch 'mot-bump' into 'master' (diff)
downloadstackrpms-0313a4089306caedfdc001644a4b4ec76cb2d31a.tar.gz
stackrpms-0313a4089306caedfdc001644a4b4ec76cb2d31a.tar.bz2
stackrpms-0313a4089306caedfdc001644a4b4ec76cb2d31a.zip
initial commit
Baseline child packages are tested, minus plymouth and greeter; Plymouth is not packaged for devuan (banned because of systemd) and greeter depends on lightdm-webkit-greeter which I need to build.
Diffstat (limited to 'chicago95/debian/chicago95-theme-plymouth.postinst')
-rw-r--r--chicago95/debian/chicago95-theme-plymouth.postinst19
1 files changed, 19 insertions, 0 deletions
diff --git a/chicago95/debian/chicago95-theme-plymouth.postinst b/chicago95/debian/chicago95-theme-plymouth.postinst
new file mode 100644
index 0000000..89f4ae8
--- /dev/null
+++ b/chicago95/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