1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#!/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