[arch-commits] Commit in gnupg/trunk (PKGBUILD gnupg.install install)
Gaëtan Bisson
bisson at archlinux.org
Tue Jun 6 22:06:07 UTC 2017
Date: Tuesday, June 6, 2017 @ 22:06:06
Author: bisson
Revision: 298114
i like it all cozy like this
Added:
gnupg/trunk/install
(from rev 298113, gnupg/trunk/gnupg.install)
Modified:
gnupg/trunk/PKGBUILD
Deleted:
gnupg/trunk/gnupg.install
---------------+
PKGBUILD | 2 +-
gnupg.install | 25 -------------------------
install | 25 +++++++++++++++++++++++++
3 files changed, 26 insertions(+), 26 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-06 22:04:22 UTC (rev 298113)
+++ PKGBUILD 2017-06-06 22:06:06 UTC (rev 298114)
@@ -26,7 +26,7 @@
'SKIP'
'b4972dc221c7b76ed15b4cc9d15e2d80b399d76307cf046d1ac617b2b5750278')
-install=gnupg.install
+install=install
conflicts=('dirmngr' 'gnupg2')
provides=('dirmngr' "gnupg2=${pkgver}")
Deleted: gnupg.install
===================================================================
--- gnupg.install 2017-06-06 22:04:22 UTC (rev 298113)
+++ gnupg.install 2017-06-06 22:06:06 UTC (rev 298114)
@@ -1,25 +0,0 @@
-_global_units() {
- systemctl --global $1 dirmngr.socket gpg-agent.socket gpg-agent-{browser,extra,ssh}.socket
-}
-
-post_install() {
- # See FS#42798 and FS#47371
- dirmngr </dev/null &>/dev/null
-
- # Let systemd supervise daemons by default
- _global_units enable
-}
-
-post_upgrade() {
- if (( $(vercmp $2 2.1.13-1) < 0 )); then
- echo "==> Please kill running gpg-agent and dirmngr processes before using this release."
- fi
-
- if (( $(vercmp $2 2.1.21-2) < 0 )); then
- _global_units enable
- fi
-}
-
-pre_remove() {
- _global_units disable
-}
Copied: gnupg/trunk/install (from rev 298113, gnupg/trunk/gnupg.install)
===================================================================
--- install (rev 0)
+++ install 2017-06-06 22:06:06 UTC (rev 298114)
@@ -0,0 +1,25 @@
+_global_units() {
+ systemctl --global $1 dirmngr.socket gpg-agent.socket gpg-agent-{browser,extra,ssh}.socket
+}
+
+post_install() {
+ # See FS#42798 and FS#47371
+ dirmngr </dev/null &>/dev/null
+
+ # Let systemd supervise daemons by default
+ _global_units enable
+}
+
+post_upgrade() {
+ if (( $(vercmp $2 2.1.13-1) < 0 )); then
+ echo "==> Please kill running gpg-agent and dirmngr processes before using this release."
+ fi
+
+ if (( $(vercmp $2 2.1.21-2) < 0 )); then
+ _global_units enable
+ fi
+}
+
+pre_remove() {
+ _global_units disable
+}
More information about the arch-commits
mailing list