From c4654e44d88be137b61303942a0831eae8f76d98 Mon Sep 17 00:00:00 2001 From: Kamaroth92 Date: Sun, 5 Jul 2020 00:08:37 +1000 Subject: [PATCH] Move server-icon.png to FTB_DIR if exists (#573) Co-authored-by: Tane Barriball --- start-minecraftFinalSetup | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/start-minecraftFinalSetup b/start-minecraftFinalSetup index 5b706ad0..0e1edc87 100644 --- a/start-minecraftFinalSetup +++ b/start-minecraftFinalSetup @@ -190,6 +190,10 @@ elif [[ ${TYPE} == "FEED-THE-BEAST" ]]; then cp -f /data/white-list.txt ${FTB_DIR}/ fi + if [ ! -e "${FTB_DIR}/server-icon.png" -a -e /data/server-icon.png ]; then + cp -f /data/server-icon.png ${FTB_DIR}/ + fi + cp -f /data/eula.txt "${FTB_DIR}/" cat > "${FTB_DIR}/settings-local.sh" <