From 66703ddd6c5431fe1772ed98bbe392a9bdeafdfe Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Mon, 23 Jan 2023 10:47:14 +0000 Subject: [PATCH] Fix more syntax errors in TrueNAS function --- quickget | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickget b/quickget index d016c86..d1888f3 100755 --- a/quickget +++ b/quickget @@ -1467,9 +1467,9 @@ function get_truenas() { local ISO="" local URL="" - if [[ "${RELEASE}" == "13.0"* ]] && [ "${OS}" == "CORE" ]; then + if [ "${RELEASE}" == "13.0" ] && [ "${OS}" == "CORE" ]; then URL="$(wget https://download.freenas.org/13.0/STABLE/U3.1/x64/${OS}.iso)" - elif [[ "${RELEASE}" == "22.12"]] && [ "${OS}" == "SCALE" ]; then + elif [ "${RELEASE}" == "22.12" ] && [ "${OS}" == "SCALE" ]; then URL="$(https://download.truenas.com/TrueNAS-SCALE-Bluefin/${RELEASE}.0/TrueNAS-${OS}-22.12.0.iso)" fi }