freebsd-ports/sysutils/epylog/files/pkg-install.in
Andrey Slusar c557ae2d1b Variable CONF_FILES is changed to LOCAL_CONF_FILES.
PR:		ports/90457
Submitted by:	maintainer
Approved by:	sem(mentor)
2005-12-16 15:22:05 +00:00

9 lines
217 B
Bash

#!/bin/sh
[ "$2" != "POST-INSTALL" ] && exit 0
for f in %%LOCAL_CONF_FILES%%; do
if ! [ -f "${PKG_PREFIX}/etc/epylog/$f" ]; then
cp -p "${PKG_PREFIX}/etc/epylog/$f.default" "${PKG_PREFIX}/etc/epylog/$f"
fi
done