#!/bin/sh
#
# $FreeBSD: ports/security/gnupg/pkg-install,v 1.1 2006/12/21 13:31:54 kuriyama Exp $
#

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
