浏览代码

Put bionic on stretch

bryan 3 年之前
父节点
当前提交
b9bead8d24
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      installJRMC

+ 2 - 2
installJRMC

@@ -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"