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