summaryrefslogtreecommitdiff
path: root/lightdm-webkit2-greeter/debian/postinst
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-09-11 11:40:56 -0400
committerB Stack <bgstack15@gmail.com>2019-09-11 11:40:56 -0400
commit044bc9fb5e6dec7caec4d8cf188f8c6831033a4b (patch)
treedc800e57c3c88290e0c56e610e69048175794d23 /lightdm-webkit2-greeter/debian/postinst
parentadd lightdm-webkit2-greeter (diff)
downloadstackrpms-044bc9fb5e6dec7caec4d8cf188f8c6831033a4b.tar.gz
stackrpms-044bc9fb5e6dec7caec4d8cf188f8c6831033a4b.tar.bz2
stackrpms-044bc9fb5e6dec7caec4d8cf188f8c6831033a4b.zip
minor improvements and first upload attempt to OBS
However, with OBS Debian_Unstable down for now, I cannot confirm its success. I can build locally, however.
Diffstat (limited to 'lightdm-webkit2-greeter/debian/postinst')
-rw-r--r--lightdm-webkit2-greeter/debian/postinst14
1 files changed, 14 insertions, 0 deletions
diff --git a/lightdm-webkit2-greeter/debian/postinst b/lightdm-webkit2-greeter/debian/postinst
new file mode 100644
index 0000000..afded81
--- /dev/null
+++ b/lightdm-webkit2-greeter/debian/postinst
@@ -0,0 +1,14 @@
+#!/bin/sh -e
+case "$1" in
+
+ configure|abort-upgrade|abort-remove|abort-deconfigure)
+ update-alternatives --install /usr/share/xgreeters/lightdm-default-greeter.desktop lightdm-default-greeter.desktop /usr/share/xgreeters/lightdm-webkit2-greeter.desktop 20
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 1
+ ;;
+
+esac
+exit 0
bgstack15