Put bionic on stretch

This commit is contained in:
2021-12-02 10:41:27 -05:00
parent dbe14d4935
commit b9bead8d24

View File

@@ -112,9 +112,9 @@ init() {
# Peg older versions to prevent ABI mismatches
# This can be overriden w/ --mcversion
if [[ "$ID" == "ubuntu" ]]; then
[[ "$VERSION_CODENAME" =~ ^(bionic|cosmic|disco|eoan)$ ]] && _base="buster"
[[ "$VERSION_CODENAME" =~ ^(cosmic|disco|eoan)$ ]] && _base="buster"
# [[ "$VERSION_CODENAME" =~ ^(focal|groovy|hirsute|impish)$ ]] && _base="bullseye"
[[ "$VERSION_CODENAME" =~ ^(xenial|yakkety|zesty|artful)$ ]] && _base="stretch"
[[ "$VERSION_CODENAME" =~ ^(xenial|yakkety|zesty|artful|bionic)$ ]] && _base="stretch"
[[ "$VERSION_CODENAME" =~ ^(trusty|utopic|vivid|wily)$ ]] && _base="jessie"
elif [[ "$ID" == "debian" ]]; then
_base="$VERSION_CODENAME"