From 8cfc0524975205863fd5902d974c27bb11b39abf Mon Sep 17 00:00:00 2001 From: Mariell Hoversholm Date: Tue, 16 Mar 2021 18:31:01 +0100 Subject: [PATCH] Link correctly --- scripts/decompile.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/decompile.sh b/scripts/decompile.sh index 21b561f3c..d0337c3db 100755 --- a/scripts/decompile.sh +++ b/scripts/decompile.sh @@ -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 )