mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-08 12:01:56 +00:00
![Jose Alonso Cardenas Marquez](/assets/img/avatar_default.png)
- Remove savage_server support - Add MASTER_SITES entries - Bump PORTREVISION - More information at http://www.notforidiots.com/SFE/
19 lines
414 B
Bash
19 lines
414 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
|
|
|
|
if ! [ -e $startup_file ]; then
|
|
touch $startup_file
|
|
chown root:wheel $startup_file 2>/dev/null
|
|
chmod 666 $startup_file
|
|
fi
|