From f1c66b45b94890f1b2a62d31e9b39421f908b7b9 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Sun, 25 Jan 2026 00:26:50 +0000 Subject: [PATCH] fix(quickget): skip unsupported architectures for test/show operations - If architecture is unsupported and OPERATION is "test" or "show", call test_result with SKIP and exit 0 - Keep existing error and exit 1 for non-test/show operations Signed-off-by: Martin Wimpress --- quickget | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/quickget b/quickget index 6771228..5c27e4e 100755 --- a/quickget +++ b/quickget @@ -4108,8 +4108,13 @@ if [ -n "${2}" ]; then fi # Now that EDITION is known, validate architecture support if ! is_arch_supported "${OS}" "${ARCH}"; then - echo "ERROR! $(pretty_name "${OS}") ${EDITION} is not available for ${ARCH} architecture." - exit 1 + if [ "${OPERATION}" == "test" ] || [ "${OPERATION}" == "show" ]; then + test_result "${OS}" "${RELEASE}" "${EDITION}" "" "SKIP" "(not available for ${ARCH})" + exit 0 + else + echo "ERROR! $(pretty_name "${OS}") ${EDITION} is not available for ${ARCH} architecture." + exit 1 + fi fi handle_missing VM_PATH="${OS}-${RELEASE}-${EDITION}"