1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/net/netatalk3/pkg-install
Joe Marcus Clarke 31db255b4b Make sure the /var directories get created during package installation.
Also, take care of the extmap.conf file as we do afp.conf.

Submitted by:	Chad Milios <cropcirclesystems@yahoo.com>
2013-02-25 04:39:52 +00:00

17 lines
328 B
Bash

#!/bin/sh
#
PATH=/bin:/usr/sbin:/usr/bin:/usr/sbin
DBDIR=/var/netatalk
case $2 in
POST-INSTALL)
umask 22
mkdir -p $DBDIR/CNID
chown root:wheel $DBDIR $DBDIR/CNID
tee $DBDIR/README > $DBDIR/CNID/README <<-'EOF'
This directory contains modifiable Netatalk configuration files and the CNID databases.
EOF
;;
esac