summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lightdm-webkit2-greeter/debian/changelog2
-rw-r--r--lightdm-webkit2-greeter/debian/control2
-rw-r--r--lightdm-webkit2-greeter/debian/postinst14
-rw-r--r--lightdm-webkit2-greeter/debian/prerm8
4 files changed, 24 insertions, 2 deletions
diff --git a/lightdm-webkit2-greeter/debian/changelog b/lightdm-webkit2-greeter/debian/changelog
index 87a3686..c18ec28 100644
--- a/lightdm-webkit2-greeter/debian/changelog
+++ b/lightdm-webkit2-greeter/debian/changelog
@@ -1,4 +1,4 @@
-lightdm-webkit2-greeter (2.2.5-1+devuan-1) obs; urgency=low
+lightdm-webkit2-greeter (2.2.5-1+devuan) obs; urgency=low
* Initial release for devuan
diff --git a/lightdm-webkit2-greeter/debian/control b/lightdm-webkit2-greeter/debian/control
index c1c7b4b..5413d82 100644
--- a/lightdm-webkit2-greeter/debian/control
+++ b/lightdm-webkit2-greeter/debian/control
@@ -16,7 +16,7 @@ Package: lightdm-webkit2-greeter
Architecture: any
Multi-Arch: foreign
Depends: ${misc:Depends}, ${shlibs:Depends}
-Provides: lightdm-greeter
+Provides: lightdm-greeter, web-greeter
Replaces: lightdm-webkit-greeter
Breaks: lightdm-webkit-greeter
Description: LightDM greeter that uses WebKit2 for theming via HTML/JavaScript
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
diff --git a/lightdm-webkit2-greeter/debian/prerm b/lightdm-webkit2-greeter/debian/prerm
new file mode 100644
index 0000000..704ebf7
--- /dev/null
+++ b/lightdm-webkit2-greeter/debian/prerm
@@ -0,0 +1,8 @@
+#!/bin/sh -e
+case "$1" in
+
+ remove|deconfigure)
+ update-alternatives --remove lightdm-default-greeter.desktop /usr/share/xgreeters/lightdm-webkit2-greeter.desktop
+ ;;
+
+esac
bgstack15