opnsense-ports/security/gnupg20/pkg-install
Franco Fichtner 8c34d21606 */*: bring in previously unknown upstream stuff
Taken from: FreeBSD
2015-04-22 06:26:02 +02:00

14 lines
199 B
Bash

#!/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