diff --git a/installJRMC b/installJRMC index fba20c5..6c3ec54 100755 --- a/installJRMC +++ b/installJRMC @@ -21,7 +21,7 @@ # shellcheck disable=SC2329 shopt -s extglob -declare -g SCRIPT_VERSION="1.34.11" +declare -g SCRIPT_VERSION="1.34.12-dev" declare -g MC_VERSION_HARDCODE="34.0.71" # do find all replace declare -g MC_REPO_HARDCODE="bookworm" # should match the MC_VERSION_HARDCODE declare -g BOARD_ID="89.0" # MC34 board ID for automatic version detection @@ -528,10 +528,6 @@ install_package() { ((allow_downgrades)) && install_flags+=(--allowerasing) ((no_gpg_check)) && install_flags+=(--nogpgcheck) ((refresh)) && install_flags+=(--refresh) - # Only add reinstall flag for mediacenter package - if ((reinstall)) && [[ ${#pkg_array[@]} -eq 1 ]] && "${PKG_QUERY[@]}" "mediacenter$MC_MVERSION" &>/dev/null; then - pkg_install=("${pkg_install[@]/install/reinstall}") - fi ;; suse) ((no_gpg_check)) && install_flags+=(--allow-unsigned-rpm) ;; @@ -1155,7 +1151,7 @@ install_mc_deb() { # @description Installs MC via RPM package install_mc_rpm() { debug "${FUNCNAME[0]}()" - install_package --no-install-check --no-gpg-check --allow-downgrades --reinstall "$MC_RPM" + install_package --no-install-check --no-gpg-check --allow-downgrades "$MC_RPM" } # @description Installs Media Center generically for unsupported OSes