aboutsummaryrefslogblamecommitdiff
path: root/games/linux-savage/pkg-install
blob: 0f6d9958b3447304f1451520abf35b92e0483cfa (plain) (tree)
1
2
3
4
5
6



                                    

                                                          






                                                  

                                          
#!/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