Use oracular repos for oracular
This commit is contained in:
@@ -18,7 +18,7 @@
|
|||||||
# * Be careful with tabs in heredocs
|
# * Be careful with tabs in heredocs
|
||||||
shopt -s extglob
|
shopt -s extglob
|
||||||
|
|
||||||
declare -g SCRIPT_VERSION="1.4.3"
|
declare -g SCRIPT_VERSION="1.4.4-dev"
|
||||||
declare -g MC_REPO="bullseye" # should match the MC_VERSION
|
declare -g MC_REPO="bullseye" # should match the MC_VERSION
|
||||||
declare -g MC_VERSION="33.0.37" # Do find all replace
|
declare -g MC_VERSION="33.0.37" # Do find all replace
|
||||||
declare -g BOARD_URL="https://yabb.jriver.com/interact/index.php/board,86.0.html" # MC33
|
declare -g BOARD_URL="https://yabb.jriver.com/interact/index.php/board,86.0.html" # MC33
|
||||||
@@ -304,12 +304,8 @@ init() {
|
|||||||
|
|
||||||
# Match the MC repo to the system codename
|
# Match the MC repo to the system codename
|
||||||
if [[ -z $USER_MC_REPO && ($ID == debian || $ID == ubuntu) ]]; then
|
if [[ -z $USER_MC_REPO && ($ID == debian || $ID == ubuntu) ]]; then
|
||||||
if [[ $UBUNTU_CODENAME == "oracular" ]]; then
|
|
||||||
MC_REPO="noble" # TODO temporarily use noble repo for Ubuntu 24.10
|
|
||||||
else
|
|
||||||
MC_REPO=${UBUNTU_CODENAME:-${VERSION_CODENAME:-$MC_REPO}}
|
MC_REPO=${UBUNTU_CODENAME:-${VERSION_CODENAME:-$MC_REPO}}
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
# Use the correct repo for legacy MC versions
|
# Use the correct repo for legacy MC versions
|
||||||
if [[ -n $USER_MC_VERSION ]]; then
|
if [[ -n $USER_MC_VERSION ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user