1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#!/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