freebsd-ports/games/linux-savage-samuraiwars/pkg-install
Jose Alonso Cardenas Marquez 0a75e0e190 - New port: games/linux-savage-samuraiwars
Samurai Wars is an official mod for Savage. The mod is set in feudal Japan and
it features new levels and characters, as well as a unique melee combat system.

WWW:    http://www.newerth.com/
2007-09-09 03:40:23 +00:00

18 lines
438 B
Bash

#!/bin/sh
[ "$2" != "POST-INSTALL" ] && exit 0
scripts_file=$PKG_PREFIX/lib/linux-savage-samuraiwars/scripts.log
startup_file=$PKG_PREFIX/lib/linux-savage-samuraiwars/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