Fix Linux Mint codename

This commit is contained in:
2024-09-03 19:34:03 -04:00
parent 0cf4cd4afe
commit 74a4b9a72d

View File

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