#!/bin/sh

[ "$2" != POST-INSTALL ] && exit

rc_dir=$PKG_PREFIX/etc/openser

for f in %%RC_FILES%%; do
	if ! [ -e $rc_dir/$f ]; then
		/usr/bin/install -o root -g wheel -m 644 \
			$rc_dir/$f.default $rc_dir/$f
	fi
done


syntax highlighted by Code2HTML, v. 0.9.1