From dc733d65fa3419c1e81c5a940b65311ca4e2ffd7 Mon Sep 17 00:00:00 2001 From: Mingye Wang Date: Mon, 26 Aug 2024 22:17:00 +0800 Subject: [PATCH 1/2] Support debian sid and testing A lot of people run debian testing to get not-totally-old software. Unfortunately, there is no LSB $VERSION_ID for these systems, so some extra detection is required. --- s-ui.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/s-ui.sh b/s-ui.sh index 0645d3f7..fb9156bc 100644 --- a/s-ui.sh +++ b/s-ui.sh @@ -62,7 +62,7 @@ elif [[ "${release}" == "fedora" ]]; then echo -e "${red} Please use Fedora 36 or higher version!${plain}\n" && exit 1 fi elif [[ "${release}" == "debian" ]]; then - if [[ ${os_version} -lt 11 ]]; then + if [[ ${os_version} -lt 11 ]] ] && [[ $( 0 ]]; then esac else show_menu -fi \ No newline at end of file +fi From 1b180330f2d487eb367026ab6c0944b3f6119a5f Mon Sep 17 00:00:00 2001 From: Mingye Wang Date: Mon, 26 Aug 2024 22:22:02 +0800 Subject: [PATCH 2/2] Update s-ui.sh --- s-ui.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s-ui.sh b/s-ui.sh index fb9156bc..4aaceb01 100644 --- a/s-ui.sh +++ b/s-ui.sh @@ -62,7 +62,7 @@ elif [[ "${release}" == "fedora" ]]; then echo -e "${red} Please use Fedora 36 or higher version!${plain}\n" && exit 1 fi elif [[ "${release}" == "debian" ]]; then - if [[ ${os_version} -lt 11 ]] ] && [[ $(