From db7f01ef3537298f4c9ebf9a9a853731618e5474 Mon Sep 17 00:00:00 2001 From: Ivan Gabriele Date: Sun, 8 Sep 2024 12:05:03 +0200 Subject: [PATCH] build(scripts): fix Debian detect condition in install_debian_requirements --- scripts/dev/install_debian_requirements.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dev/install_debian_requirements.sh b/scripts/dev/install_debian_requirements.sh index 10b49d5a..e7e00a81 100755 --- a/scripts/dev/install_debian_requirements.sh +++ b/scripts/dev/install_debian_requirements.sh @@ -20,7 +20,7 @@ if [ -f /etc/os-release ]; then OS_NAME=$NAME OS_VERSION=$VERSION_ID - if [[ "${OS_NAME}" == "Debian" ]]; then + if [[ "${OS_NAME}" == "Debian GNU/Linux" ]]; then if [[ "${OS_VERSION%%.*}" -lt 12 ]]; then log_error_and_exit "Debian v${OS_VERSION} is unsupported. Required: Debian 12 or later." fi