Move server-icon.png to FTB_DIR if exists (#573)

Co-authored-by: Tane Barriball <tanebarriball@gmail.com>
This commit is contained in:
Kamaroth92 2020-07-05 00:08:37 +10:00 committed by GitHub
parent 9c6047e3fc
commit c4654e44d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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" <<EOF