Fix debian 11 detection on installer (#4241)

* Fix debian 11  detection
Fixes #4236

* compile installer script

* fix typo
This commit is contained in:
Matthias Mair 2023-01-24 23:30:14 +01:00 committed by GitHub
parent 2dae60292e
commit c78e712a16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -73,11 +73,11 @@ root_command() {
SUPPORTED=false
fi
;;
"Debian GNU/Linux" | Raspbian)
"Debian GNU/Linux" | "debian gnu/linux" | Raspbian)
if [[ $VER != "11" ]]; then
SUPPORTED=false
fi
OS=Debian
DIST_OS=debian
;;
*)
echo "### Distribution not supported"

View File

@ -63,11 +63,11 @@ case "$OS" in
SUPPORTED=false
fi
;;
"Debian GNU/Linux" | Raspbian)
"Debian GNU/Linux" | "debian gnu/linux" | Raspbian)
if [[ $VER != "11" ]]; then
SUPPORTED=false
fi
OS=Debian
DIST_OS=debian
;;
*)
echo "### Distribution not supported"