1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/www/web2ldap/pkg-install
2021-04-06 16:31:13 +02:00

18 lines
265 B
Bash

#!/bin/sh
PREFIX=${PKG_PREFIX:-/usr/local}
DATADIR=${PREFIX}/share/web2ldap
MKDIR=/bin/mkdir
case "$2" in
POST-INSTALL)
${MKDIR} -p ${DATADIR}/var ${DATADIR}/var/log ${DATADIR}/var/run
if [ -w /var/log ]; then
${MKDIR} /var/log/web2ldap
fi
;;
esac
exit 0