freebsd-ports/games/linux-savage/pkg-install

19 lines
414 B
Text
Raw Normal View History

#!/bin/sh
[ "$2" != "POST-INSTALL" ] && exit 0
2006-12-01 03:57:31 +01:00
scripts_file=$PKG_PREFIX/lib/linux-savage/scripts.log
startup_file=$PKG_PREFIX/lib/linux-savage/game/startup.cfg
if ! [ -e $scripts_file ]; then
touch $scripts_file
chown root:wheel $scripts_file 2>/dev/null
chmod 666 $scripts_file
fi
if ! [ -e $startup_file ]; then
touch $startup_file
chown root:wheel $startup_file 2>/dev/null
chmod 666 $startup_file
fi