1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
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

12 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