[mc] Correctly pre-populate json config files

For #158
This commit is contained in:
Geoff Bourne
2017-06-07 20:43:35 -05:00
parent 899f31917c
commit e509563b10

View File

@@ -557,10 +557,10 @@ fi
# Make sure files exist to avoid errors
if [ ! -e banned-players.json ]; then
echo '' > banned-players.json
echo '[]' > banned-players.json
fi
if [ ! -e banned-ips.json ]; then
echo '' > banned-ips.json
echo '[]' > banned-ips.json
fi
# If any modules have been provided, copy them over