From a8970b39cb2900d5ed870d36939165de3d1e3942 Mon Sep 17 00:00:00 2001 From: Claudius Kienle Date: Tue, 14 Apr 2026 14:59:47 +0200 Subject: [PATCH] quickget: normalize QUICKGET_INSECURE env var to accept both 1 and true The previous assignment CURL_INSECURE="${QUICKGET_INSECURE:-false}" meant QUICKGET_INSECURE=1 set CURL_INSECURE to "1", but the downstream check only matched "true", so the env var had no effect. Accept both "1" and "true" by normalizing to "true"/"false" at assignment time. Co-Authored-By: Claude Sonnet 4.6 --- quickget | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quickget b/quickget index 5751a34..2d7019f 100755 --- a/quickget +++ b/quickget @@ -3800,7 +3800,8 @@ QUICKEMU=$(resolve_quickemu) I18NS=() OPERATION="" CHECK_ALL_ARCH="false" -CURL_INSECURE="${QUICKGET_INSECURE:-false}" +CURL_INSECURE="false" +[[ "${QUICKGET_INSECURE:-}" == "1" || "${QUICKGET_INSECURE:-}" == "true" ]] && CURL_INSECURE="true" # Normalised host architecture for foreign arch detection NORMALISED_HOST_ARCH="${ARCH}" CURL=$(command -v curl)