Skip to content

Commit

Permalink
build(scripts): fix Debian detect condition in install_debian_require…
Browse files Browse the repository at this point in the history
…ments
  • Loading branch information
ivangabriele committed Sep 8, 2024
1 parent a2fd6ea commit db7f01e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/dev/install_debian_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db7f01e

Please sign in to comment.