3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-15 02:50:09 +01:00
Dieser Commit ist enthalten in:
Mariell Hoversholm 2021-03-16 18:31:01 +01:00
Ursprung ba1031ca7c
Commit 8cfc052497

Datei anzeigen

@ -139,9 +139,9 @@ fi
currentlink="$workdir/Minecraft/current" currentlink="$workdir/Minecraft/current"
if ([ ! -e "$currentlink" ] || [ -L "$currentlink" ]) && [ "$windows" == "false" ]; then if ([ ! -e "$currentlink" ] || [ -L "$currentlink" ]) && [ "$windows" == "false" ]; then
set +e set +e
echo "Pointing $currentlink to $minecraftversion" echo "Pointing $currentlink to $minecraftversion-$revision"
rm -rf "$currentlink" || true rm -rf "$currentlink" || true
ln -sfn "$minecraftversion" "$currentlink" || echo "Failed to set current symlink" ln -sfn "$minecraftversion-$revision" "$currentlink" || echo "Failed to set current symlink"
fi fi
) )