Fix Mac/Linux Pack Mode Switcher Erroring (#458)

[INTERNAL]
This commit is contained in:
uku 2023-10-23 09:58:13 +02:00 committed by GitHub
parent d9909efcbf
commit bbd2e807a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ case $MODE in
if [ -f "server.properties" ]; then if [ -f "server.properties" ]; then
mv "${TARGET}/server.properties" ./ mv "${TARGET}/server.properties" ./
else else
rm "${TARGET}/server.properties" rm "${TARGET}/server.properties" || true
fi fi
# Update Mode # Update Mode
@ -60,7 +60,7 @@ case $MODE in
if [ -f "server.properties" ]; then if [ -f "server.properties" ]; then
mv "${TARGET}/server.properties" ./ mv "${TARGET}/server.properties" ./
else else
rm "${TARGET}/server.properties" rm "${TARGET}/server.properties" || true
fi fi
# Update Mode # Update Mode