浏览代码

Fix Linux Mint codename

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

+ 3 - 0
installJRMC

@@ -190,8 +190,11 @@ init() {
 
     # Match the MC repo to the system
     if [[ $ID == debian || $ID == ubuntu ]]; then
+        echo "Ubuntu codename: $UBUNTU_CODENAME"
+        echo "Version codename: $VERSION_CODENAME"
         MC_DEFAULT_REPO=${UBUNTU_CODENAME:-${VERSION_CODENAME:-$MC_DEFAULT_REPO}}
     fi
+
     # Change the repo for user-specified legacy versions
     if [[ -n $USER_MC_VERSION ]]; then
         case $MC_MVERSION in