feat(core): OS Support

Add Ubuntu lunar support
This commit is contained in:
Thad Guidry 2023-05-13 18:03:10 +08:00 committed by GitHub
parent 23337523fa
commit 241d7c4209
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -351,7 +351,8 @@ distroCheck() {
["11"]="bullseye"
["18.04"]="bionic"
["20.04"]="focal"
["22.04"]="jammy")
["22.04"]="jammy"
["23.04"]="lunar")
OSCN="${VER_MAP["${VER}"]}"
# Alpine support
@ -363,7 +364,7 @@ distroCheck() {
case "${PLAT}" in
Debian | Raspbian | Ubuntu)
case "${OSCN}" in
stretch | buster | bullseye | xenial | bionic | focal | jammy)
stretch | buster | bullseye | xenial | bionic | focal | jammy | lunar)
:
;;
*)