aboutsummaryrefslogblamecommitdiff
path: root/security/pks/pkg-install
blob: d2c772b14e8022c5bc112a84693d3b5adb7ab4ad (plain) (tree)





















                                            
#!/bin/sh
#
# $NetBSD$

PKGNAME=$1
STAGE=$2

case ${STAGE} in
PRE-INSTALL)
	;;
POST-INSTALL)
	DBDIR=/var/pks/db
	MAILDIR=/var/pks/incoming

	mkdir -p ${DBDIR} ${MAILDIR}
	;;
*)
	echo "Unexpected argument: ${STAGE}"
	exit 1
	;;
esac
exit 0