From 47f9cf5970221d48f27853f682d006bf4522d9f0 Mon Sep 17 00:00:00 2001 From: zenobit Date: Fri, 14 Feb 2025 06:17:47 +0100 Subject: [PATCH] Not work for me --- quickget | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickget b/quickget index 6aa3839..9ee9985 100755 --- a/quickget +++ b/quickget @@ -45,7 +45,7 @@ function error_specify_os() { } function os_supported() { - if [[ ! " $(os_support) " =~ \ "${OS}"\ ]]; then + if [[ ! "$(os_support)" =~ ${OS} ]]; then echo -e "ERROR! ${OS} is not a supported OS.\n" os_support | fmt -w 80 exit 1 @@ -59,7 +59,7 @@ function error_specify_release() { } function error_not_supported_release() { - if [[ ! " ${RELEASES[*]} " =~ \ "${RELEASE}"\ ]]; then + if [[ ! "${RELEASES[*]}" =~ ${RELEASE} ]]; then echo -e "ERROR! ${DISPLAY_NAME} ${RELEASE} is not a supported release.\n" echo -n ' - Supported releases: ' releases_