1.36.3 release
This commit is contained in:
13
installJRMC
13
installJRMC
@@ -6,13 +6,6 @@
|
|||||||
# This software is released under the Apache License.
|
# This software is released under the Apache License.
|
||||||
# https://www.apache.org/licenses/LICENSE-2.0
|
# https://www.apache.org/licenses/LICENSE-2.0
|
||||||
#
|
#
|
||||||
# TODO (v2)
|
|
||||||
# * Interactive (ncurses) mode
|
|
||||||
# * Additional containerization (createrepo and rpmbuild)
|
|
||||||
#
|
|
||||||
# BUGS
|
|
||||||
# * No createrepo on Mint
|
|
||||||
#
|
|
||||||
# NOTES
|
# NOTES
|
||||||
# * Be careful with tabs in heredocs
|
# * Be careful with tabs in heredocs
|
||||||
# * Avoid execute() for stdout
|
# * Avoid execute() for stdout
|
||||||
@@ -22,11 +15,11 @@
|
|||||||
# shellcheck disable=SC2329
|
# shellcheck disable=SC2329
|
||||||
shopt -s extglob
|
shopt -s extglob
|
||||||
|
|
||||||
declare -g SCRIPT_VERSION="1.36.3-dev"
|
declare -g SCRIPT_VERSION="1.36.3"
|
||||||
declare -g MC_VERSION_HARDCODE="36.0.20" # do find all replace
|
declare -g MC_VERSION_HARDCODE="36.0.20" # do find all replace
|
||||||
declare -g MC_REPO_HARDCODE="bookworm" # should match the MC_VERSION_HARDCODE
|
declare -g MC_REPO_HARDCODE="bookworm" # should match the MC_VERSION_HARDCODE
|
||||||
declare -gi SELF_UPDATE_SWITCH=1 # 0 to disable installJRMC self-updater
|
declare -gi SELF_UPDATE_SWITCH=1 # 0 to disable installJRMC self-updater
|
||||||
declare -g SCRIPT_URL="https://git.bryanroessler.com/bryan/installJRMC/raw/branch/master/installJRMC" # self-update URL
|
declare -g SCRIPT_URL="https://git.bryanroessler.com/bryan/installJRMC/raw/branch/master/installJRMC" # self-updater URL
|
||||||
# declare -g SCRIPT_URL="https://raw.githubusercontent.com/cryobry/installJRMC/refs/heads/master/installJRMC" # backup URL
|
# declare -g SCRIPT_URL="https://raw.githubusercontent.com/cryobry/installJRMC/refs/heads/master/installJRMC" # backup URL
|
||||||
declare -gi DEBUG=${DEBUG:-0} # set default debug and allow DEBUG env override (default: disabled)
|
declare -gi DEBUG=${DEBUG:-0} # set default debug and allow DEBUG env override (default: disabled)
|
||||||
|
|
||||||
@@ -426,8 +419,6 @@ get_mc_version() {
|
|||||||
debug "${FUNCNAME[0]}()"
|
debug "${FUNCNAME[0]}()"
|
||||||
declare -g MC_VERSION MC_MVERSION MC_VERSION_SOURCE
|
declare -g MC_VERSION MC_MVERSION MC_VERSION_SOURCE
|
||||||
|
|
||||||
debug "BUILD_SWITCH=$BUILD_SWITCH LOCAL_INSTALL_SWITCH=$LOCAL_INSTALL_SWITCH CREATEREPO_SWITCH=$CREATEREPO_SWITCH"
|
|
||||||
|
|
||||||
# Use user provided MC version if available
|
# Use user provided MC version if available
|
||||||
if [[ -n $MC_VERSION_USER ]]; then
|
if [[ -n $MC_VERSION_USER ]]; then
|
||||||
MC_VERSION="$MC_VERSION_USER"
|
MC_VERSION="$MC_VERSION_USER"
|
||||||
|
|||||||
Reference in New Issue
Block a user