mirror of
https://github.com/kaboomserver/buildpack.git
synced 2024-09-28 19:23:01 +00:00
Make read-only files valid json
This commit is contained in:
parent
63979eb00f
commit
ab1974184b
|
@ -15,10 +15,11 @@ ssh-keyscan github.com >> .ssh/known_hosts
|
|||
|
||||
# Make certain files read-only
|
||||
|
||||
touch banned-ips.json
|
||||
touch banned-players.json
|
||||
touch ops.json
|
||||
touch whitelist.json
|
||||
echo "[]" > banned-ips.json
|
||||
echo "[]" > banned-players.json
|
||||
echo "[]" > ops.json
|
||||
echo "[]" > whitelist.json
|
||||
|
||||
chmod 400 banned-ips.json
|
||||
chmod 400 banned-players.json
|
||||
chmod 400 ops.json
|
||||
|
|
Loading…
Reference in a new issue