support debian 12 (#5205)

This commit is contained in:
Matthias Mair 2023-07-09 00:40:53 +02:00 committed by GitHub
parent d4fad4f5c8
commit ae046c778e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 2 deletions

View File

@ -35,3 +35,4 @@ dependencies:
targets:
ubuntu-20.04: true
debian-11: true
debian-12: true

View File

@ -74,7 +74,13 @@ root_command() {
fi
;;
"Debian GNU/Linux" | "debian gnu/linux" | Raspbian)
if [[ $VER != "11" ]]; then
if [[ $VER == "12" ]]; then
SUPPORTED=true
elif [[ $VER == "11" ]]; then
SUPPORTED=true
elif [[ $VER == "10" ]]; then
SUPPORTED=true
else
SUPPORTED=false
fi
DIST_OS=debian

View File

@ -64,7 +64,13 @@ case "$OS" in
fi
;;
"Debian GNU/Linux" | "debian gnu/linux" | Raspbian)
if [[ $VER != "11" ]]; then
if [[ $VER == "12" ]]; then
SUPPORTED=true
elif [[ $VER == "11" ]]; then
SUPPORTED=true
elif [[ $VER == "10" ]]; then
SUPPORTED=true
else
SUPPORTED=false
fi
DIST_OS=debian