Optionally rerun installJRMC on repo failure
This commit is contained in:
@@ -702,6 +702,7 @@ install_mc_repo() {
|
||||
# Update package lists
|
||||
if ! execute "${PKG_UPDATE[@]}"; then
|
||||
error=$?
|
||||
debug "Error code: $error"
|
||||
err "Package update failed!"
|
||||
if [[ $error -eq 100 ]]; then
|
||||
if [[ $MC_REPO != "$MC_REPO_HARDCODE" ]] &&
|
||||
|
||||
Reference in New Issue
Block a user