summaryrefslogtreecommitdiff
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
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.
-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