15 lines
356 B
Bash
15 lines
356 B
Bash
#!/bin/sh
|
|
|
|
[ "$2" != "POST-INSTALL" ] && exit 0
|
|
|
|
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
|
|
|
|
chown root:wheel $startup_file 2>/dev/null
|
|
chmod 666 $startup_file
|