From 98cb79757437dde5a0cac30070a8520aca0bab5c Mon Sep 17 00:00:00 2001 From: Kroese Date: Sat, 6 May 2023 16:26:21 +0200 Subject: [PATCH] Ignore case --- run/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/run/install.sh b/run/install.sh index 57cfe3f..79c3f40 100644 --- a/run/install.sh +++ b/run/install.sh @@ -13,7 +13,7 @@ else PROGRESS="--progress=dot:giga" fi -[ "$DEBUG" = "Y" ] && set -x +[[ "${DEBUG}" == [Yy1]* ]] && set -x { wget "$BOOT" -O "$TMP" -q --no-check-certificate --show-progress "$PROGRESS"; rc=$?; } || : (( rc != 0 )) && echo "ERROR: Failed to download ${BOOT}, reason: $rc" && exit 60 @@ -31,6 +31,6 @@ FILE="$STORAGE/boot.img" mv -f "$TMP" "$FILE" { set +x; } 2>/dev/null -[ "$DEBUG" = "Y" ] && echo +[[ "${DEBUG}" == [Yy1]* ]] && echo return 0