mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 23:10:16 +01:00
Link correctly
This commit is contained in:
parent
8e7a9cdae4
commit
e7ae17022f
1 changed files with 2 additions and 2 deletions
|
@ -139,9 +139,9 @@ fi
|
|||
currentlink="$workdir/Minecraft/current"
|
||||
if ([ ! -e "$currentlink" ] || [ -L "$currentlink" ]) && [ "$windows" == "false" ]; then
|
||||
set +e
|
||||
echo "Pointing $currentlink to $minecraftversion"
|
||||
echo "Pointing $currentlink to $minecraftversion-$revision"
|
||||
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
|
||||
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue