summaryrefslogtreecommitdiffstats
path: root/security/pks/pkg-install
blob: ae5534f0e2ae1522786176daf3ffd0a9cd6f4420 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
#
# $FreeBSD$

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
OpenPOWER on IntegriCloud