freebsd-ports/games/warsow-data/pkg-install
Jose Alonso Cardenas Marquez 96add768b8 - Integrate games/warsow with games/warsow-data
- Fixes some problems with games/linux-warsow and games/warsow-data, now
  we can install games/warsow and games/linux-warsow at the same place.

Submitted by:	me
Approved by:	maintainer timeout (16 days), garga (mentor)
2006-08-20 15:11:09 +00:00

11 lines
219 B
Bash

#!/bin/sh
[ "$2" != "POST-INSTALL" ] && exit 0
config_file=$PKG_PREFIX/share/warsow/config.cfg
if ! [ -e $config_file ]; then
touch $config_file
chown root:wheel $config_file 2>/dev/null
chmod 666 $config_file
fi