Link correctly
This commit is contained in:
parent
ba1031ca7c
commit
8cfc052497
|
@ -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
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue