diff --git a/installJRMC b/installJRMC index 61e8d37..e2cfa9f 100755 --- a/installJRMC +++ b/installJRMC @@ -1995,15 +1995,16 @@ create_mc_apt_container() { debug "${FUNCNAME[0]}()" "$@" declare -g CNT local -a cmds=("$@") - local channel="latest" local repo="$MC_REPO" + local channel="latest" if [[ -n $BETAPASS ]]; then - debug "Using beta channel for apt container" - channel="beta" repo="$MC_REPO_HARDCODE" + channel="beta" fi + debug "Using MC $repo repo $channel channel for apt container" + # shellcheck disable=SC2016 { command -v buildah &>/dev/null || install_package buildah; } && CNT=$(buildah from --quiet alpine:edge) &&