summarylogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install25
1 files changed, 5 insertions, 20 deletions
diff --git a/install b/install
index 67bbe1b85ca9..5b2169f0e384 100644
--- a/install
+++ b/install
@@ -1,25 +1,10 @@
-info_dir=/usr/share/info
-info_files=(gnupg.info gnupg.info-1 gnupg.info-2)
-
post_install() {
- [ -x usr/bin/install-info ] || return 0
- for f in ${info_files[@]}; do
- usr/bin/install-info ${info_dir}/$f ${info_dir}/dir 2> /dev/null
- done
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for f in ${info_files[@]}; do
- usr/bin/install-info --delete ${info_dir}/$f ${info_dir}/dir 2> /dev/null
- done
+ # See FS#42798 and FS#47371
+ dirmngr </dev/null &>/dev/null || true
}
post_upgrade() {
- post_install
-
- # Fix upgrade to 2.1; see FS#42798
- [ $(vercmp $2 2.1.0-4) = -1 ] &&
- dirmngr </dev/null &>/dev/null ||
- return 0
+ if [[ $(vercmp $2 2.1.13-1) = -1 ]]; then
+ echo "==> Please kill running gpg-agent and dirmngr processes before using this release."
+ fi
}