Fix more syntax errors in TrueNAS function

pull/621/head
Martin Wimpress 2 years ago
parent b1fc537332
commit 66703ddd6c
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3
  1. 4
      quickget

@ -1467,9 +1467,9 @@ function get_truenas() {
local ISO="" local ISO=""
local URL="" 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)" 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)" URL="$(https://download.truenas.com/TrueNAS-SCALE-Bluefin/${RELEASE}.0/TrueNAS-${OS}-22.12.0.iso)"
fi fi
} }

Loading…
Cancel
Save