Fix Linux Mint codename
This commit is contained in:
@@ -190,8 +190,11 @@ init() {
|
|||||||
|
|
||||||
# Match the MC repo to the system
|
# Match the MC repo to the system
|
||||||
if [[ $ID == debian || $ID == ubuntu ]]; then
|
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}}
|
MC_DEFAULT_REPO=${UBUNTU_CODENAME:-${VERSION_CODENAME:-$MC_DEFAULT_REPO}}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Change the repo for user-specified legacy versions
|
# Change the repo for user-specified legacy versions
|
||||||
if [[ -n $USER_MC_VERSION ]]; then
|
if [[ -n $USER_MC_VERSION ]]; then
|
||||||
case $MC_MVERSION in
|
case $MC_MVERSION in
|
||||||
|
|||||||
Reference in New Issue
Block a user