diff options
Diffstat (limited to 'security/gnupg/pkg-install')
-rw-r--r-- | security/gnupg/pkg-install | 14 |
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 |