From dd93be3a8ee6445fc27762c104ff5e0f4ef7e69f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C5=A0tefka?= Date: Mon, 10 Apr 2023 20:53:29 +0200 Subject: [PATCH] Fix: moving java 16 into ~/.adoptium_java --- .msman/java.sh | 2 +- .msman/version.sh | 2 +- msman.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.msman/java.sh b/.msman/java.sh index 09ca635..ea1767e 100644 --- a/.msman/java.sh +++ b/.msman/java.sh @@ -176,7 +176,7 @@ function download_jre { echo "Extracting Java 16" tar -xzf java.tar.gz echo "Moving Java 16 to $(echo $HOME)/.adoptium_java/jre16" - mv jdk-16.0.2+7-jre "$(echo $HOME)/.adoptium_java/jre16" + mv jdk-16.0.2+7 "$(echo $HOME)/.adoptium_java/jre16" echo "Removing temporary files" rm java.tar.gz elif [[ $required_java == "17" ]]; then diff --git a/.msman/version.sh b/.msman/version.sh index 8ae4c5d..467429b 100644 --- a/.msman/version.sh +++ b/.msman/version.sh @@ -1,3 +1,3 @@ #!/bin/bash -EXTRA_SCRIPTS_VERSION="v2.1.4" +EXTRA_SCRIPTS_VERSION="v2.1.5" diff --git a/msman.sh b/msman.sh index 23818ba..fe533fe 100755 --- a/msman.sh +++ b/msman.sh @@ -8,7 +8,7 @@ set -e # and acknowledge the original script and author. # ############################################################################################################# -CURRENT_SCRIPT_VERSION="v2.1.4" +CURRENT_SCRIPT_VERSION="v2.1.5" # -------------------------------------------------- # You shouldn't need to change anything in this file