From 38817e1e6bf6628bbf95ea95b7f0d5df687b928e Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Sun, 25 Jan 2026 23:18:33 +0000 Subject: [PATCH] fix(quickget): resolve shellcheck warnings in azurelinux and rockylinux --- quickget | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/quickget b/quickget index 4678bc7..7bf122e 100755 --- a/quickget +++ b/quickget @@ -2041,7 +2041,8 @@ function get_azurelinux() { local QEMU_ARCH="x86_64" [ "${ARCH}" == "arm64" ] && QEMU_ARCH="aarch64" local URL="https://aka.ms/azurelinux-${RELEASE}-${QEMU_ARCH}.iso" - local ISO="$(web_redirect "${URL}")" + local ISO + ISO="$(web_redirect "${URL}")" echo "${ISO}" } @@ -2908,7 +2909,7 @@ function get_rebornos() { } function get_rockylinux() { - if ( [[ "${RELEASE}" =~ ^8. ]] || [[ "${RELEASE}" =~ ^10. ]] ) && [[ "${EDITION}" == "dvd" ]]; then + if { [[ "${RELEASE}" =~ ^8. ]] || [[ "${RELEASE}" =~ ^10. ]]; } && [[ "${EDITION}" == "dvd" ]]; then EDITION="dvd1" fi local HASH=""