96add768b8
- 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)
11 lines
219 B
Bash
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
|