From 621962ad9c044925eb6057910b343c515cf67d53 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sun, 8 Sep 2019 17:22:02 -0500 Subject: [PATCH] Always populate ops.txt to allow for additive config For #283 --- start-minecraftFinalSetup | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/start-minecraftFinalSetup b/start-minecraftFinalSetup index d848c6d4..bf75a53f 100644 --- a/start-minecraftFinalSetup +++ b/start-minecraftFinalSetup @@ -2,9 +2,10 @@ . /start-utils -if [ -n "$OPS" -a ! -e ops.txt.converted ]; then - echo "Setting ops" - echo $OPS | awk -v RS=, '{print}' >> ops.txt +if [ -n "$OPS" ]; then + echo "Setting/adding ops" + rm -rf ops.txt.converted + echo $OPS | awk -v RS=, '{print}' > ops.txt fi if [ -n "$WHITELIST" -a ! -e white-list.txt.converted ]; then