mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-04-22 05:19:26 +00:00
Always update whitelist from env since it is processed additive anyway
For #283
This commit is contained in:
@@ -8,9 +8,10 @@ if [ -n "$OPS" ]; then
|
||||
echo $OPS | awk -v RS=, '{print}' > ops.txt
|
||||
fi
|
||||
|
||||
if [ -n "$WHITELIST" -a ! -e white-list.txt.converted ]; then
|
||||
if [ -n "$WHITELIST" ]; then
|
||||
echo "Setting whitelist"
|
||||
echo $WHITELIST | awk -v RS=, '{print}' >> white-list.txt
|
||||
rm -rf white-list.txt.converted
|
||||
echo $WHITELIST | awk -v RS=, '{print}' > white-list.txt
|
||||
fi
|
||||
|
||||
if [ -n "$ICON" -a ! -e server-icon.png ]; then
|
||||
|
||||
Reference in New Issue
Block a user