feat(Core): Drop Support for Stretch and Xenial

Drop support for Debian 9 Stretch
Drop support for Ubuntu 16.04 Xenial
This commit is contained in:
4s3ti 2023-03-15 21:44:25 +01:00
parent c1097ca69c
commit 81646f30ff
No known key found for this signature in database
GPG key ID: AC2D3B898F96BC51

View file

@ -346,10 +346,8 @@ distroCheck() {
. /etc/os-release . /etc/os-release
PLAT="$(awk '{print $1}' <<< "${NAME}")" PLAT="$(awk '{print $1}' <<< "${NAME}")"
VER="${VERSION_ID}" VER="${VERSION_ID}"
declare -A VER_MAP=(["9"]="stretch" declare -A VER_MAP=(["10"]="buster"
["10"]="buster"
["11"]="bullseye" ["11"]="bullseye"
["16.04"]="xenial"
["18.04"]="bionic" ["18.04"]="bionic"
["20.04"]="focal" ["20.04"]="focal"
["22.04"]="jammy") ["22.04"]="jammy")