mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
0a75e0e190
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/
19 lines
438 B
Bash
19 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
|