1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00
freebsd-ports/dns/bind99/pkg-install
Erwin Lansing 2a0e1389ad Make pkg-message and pkg-install a local file to the bind98 and bind99
ports and not include the one from the deprecated bind97 port, which is
to be removed.
2013-04-23 08:26:48 +00:00

14 lines
257 B
Bash

#!/bin/sh
[ "$2" = 'POST-INSTALL' ] || exit 0
/bin/mkdir -p /var/named${PKG_PREFIX}/etc
for DIR in ${PKG_PREFIX}/etc /var/named${PKG_PREFIX}/etc; do
for FILE in named.conf rndc.key; do
/bin/ln -sf /etc/namedb/${FILE} ${DIR}/${FILE}
done
done
exit 0