From 381490c14c9f5ec4cc1f3f68fe96134693ba2957 Mon Sep 17 00:00:00 2001 From: bryan Date: Tue, 11 Mar 2025 10:01:38 -0400 Subject: [PATCH] Don't invoke --install=repo on --uninstall --- installJRMC | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installJRMC b/installJRMC index 7bf3941..6b731fb 100755 --- a/installJRMC +++ b/installJRMC @@ -18,7 +18,7 @@ # * Be careful with tabs in heredocs shopt -s extglob -declare -g SCRIPT_VERSION="1.4.7" +declare -g SCRIPT_VERSION="1.4.8-dev" declare -g MC_REPO="bullseye" # should match the MC_VERSION declare -g MC_VERSION="33.0.61" # Do find all replace declare -g BOARD_URL="https://yabb.jriver.com/interact/index.php/board,86.0.html" # MC33 @@ -241,7 +241,7 @@ init() { fi # Parse input commands with getopt - if [[ $# -eq 0 || ! "$*" =~ (--install|--service|--container|--createrepo) ]]; then + if [[ $# -eq 0 || ! "$*" =~ (--install|--service|--container|--createrepo|--uninstall) ]]; then debug "Automatically using --install=repo" declare -gi REPO_INSTALL_SWITCH=1 else