Skip to content

Commit c4654e4

Browse files
authored
Move server-icon.png to FTB_DIR if exists (itzg#573)
Co-authored-by: Tane Barriball <tanebarriball@gmail.com>
1 parent 9c6047e commit c4654e4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

start-minecraftFinalSetup

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,10 @@ elif [[ ${TYPE} == "FEED-THE-BEAST" ]]; then
190190
cp -f /data/white-list.txt ${FTB_DIR}/
191191
fi
192192

193+
if [ ! -e "${FTB_DIR}/server-icon.png" -a -e /data/server-icon.png ]; then
194+
cp -f /data/server-icon.png ${FTB_DIR}/
195+
fi
196+
193197
cp -f /data/eula.txt "${FTB_DIR}/"
194198

195199
cat > "${FTB_DIR}/settings-local.sh" <<EOF

0 commit comments

Comments
 (0)