feat: Support debian 12(Bookworm)

This commit is contained in:
4s3ti 2023-07-02 11:19:29 +02:00
parent 87acb3d48b
commit ef6b0e825d
No known key found for this signature in database
GPG key ID: AC2D3B898F96BC51

View file

@ -349,6 +349,7 @@ distroCheck() {
VER="${VERSION_ID}" VER="${VERSION_ID}"
declare -A VER_MAP=(["10"]="buster" declare -A VER_MAP=(["10"]="buster"
["11"]="bullseye" ["11"]="bullseye"
["12"]="bookworm"
["18.04"]="bionic" ["18.04"]="bionic"
["20.04"]="focal" ["20.04"]="focal"
["22.04"]="jammy" ["22.04"]="jammy"
@ -364,7 +365,7 @@ distroCheck() {
case "${PLAT}" in case "${PLAT}" in
Debian | Raspbian | Ubuntu) Debian | Raspbian | Ubuntu)
case "${OSCN}" in case "${OSCN}" in
stretch | buster | bullseye | xenial | bionic | focal | jammy | lunar) stretch | buster | bullseye | bookwork | xenial | bionic | focal | jammy | lunar)
: :
;; ;;
*) *)