summaryrefslogtreecommitdiff
path: root/lightdm-webkit2-greeter/debian/postinst
diff options
context:
space:
mode:
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