Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/build-support/gnupg-old/install
diff options
context:
space:
mode:
Diffstat (limited to 'build-support/gnupg-old/install')
-rw-r--r--build-support/gnupg-old/install10
1 files changed, 10 insertions, 0 deletions
diff --git a/build-support/gnupg-old/install b/build-support/gnupg-old/install
new file mode 100644
index 00000000..5b2169f0
--- /dev/null
+++ b/build-support/gnupg-old/install
@@ -0,0 +1,10 @@
+post_install() {
+ # See FS#42798 and FS#47371
+ dirmngr </dev/null &>/dev/null || true
+}
+
+post_upgrade() {
+ if [[ $(vercmp $2 2.1.13-1) = -1 ]]; then
+ echo "==> Please kill running gpg-agent and dirmngr processes before using this release."
+ fi
+}