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

16 lines
356 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
2006-12-01 03:57:31 +01:00
chown root:wheel $startup_file 2>/dev/null
chmod 666 $startup_file