Optionally rerun installJRMC on repo failure

This commit is contained in:
2025-10-21 18:55:15 -04:00
parent d86b454be4
commit 8a38cbef41

View File

@@ -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" ]] &&