mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
12 lines
225 B
Plaintext
12 lines
225 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
[ "$2" != "POST-INSTALL" ] && exit 0
|
||
|
|
||
|
config_file=$PKG_PREFIX/lib/warsow/basewsw/config.cfg
|
||
|
|
||
|
if ! [ -e $config_file ]; then
|
||
|
touch $config_file
|
||
|
chown root:wheel $config_file 2>/dev/null
|
||
|
chmod 666 $config_file
|
||
|
fi
|