aboutsummaryrefslogtreecommitdiffstats
path: root/security/gnupg/pkg-install
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2006-12-21 21:31:56 +0800
committerkuriyama <kuriyama@FreeBSD.org>2006-12-21 21:31:56 +0800
commitda5699dfdacafc5da373ec3ffb2177f0c0bba667 (patch)
treeb1e903b1b0f0001294efd9332a7fb293bc8834cb /security/gnupg/pkg-install
parentd1d5159a4a4820d5918bb147815cb2857653e8d4 (diff)
downloadfreebsd-ports-gnome-da5699dfdacafc5da373ec3ffb2177f0c0bba667.tar.gz
freebsd-ports-gnome-da5699dfdacafc5da373ec3ffb2177f0c0bba667.tar.zst
freebsd-ports-gnome-da5699dfdacafc5da373ec3ffb2177f0c0bba667.zip
- Upgrade gnupg to 2.0.1. Old stable version (1.4.6) was repocopied
to security/gnupg1. Thanks to: dougb, lofi
Diffstat (limited to 'security/gnupg/pkg-install')
-rw-r--r--security/gnupg/pkg-install14
1 files changed, 14 insertions, 0 deletions
diff --git a/security/gnupg/pkg-install b/security/gnupg/pkg-install
new file mode 100644
index 000000000000..b2e9e655aa3a
--- /dev/null
+++ b/security/gnupg/pkg-install
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+if [ "$2" != "POST-INSTALL" ]; then
+ exit 0
+fi
+
+if [ -r ${PKG_PREFIX}/bin/gpg ] || [ -L ${PKG_PREFIX}/bin/gpg ]; then
+ # Skip.
+else
+ ln -s gpg2 ${PKG_PREFIX}/bin/gpg
+fi