Browse Source

Disable freeworld driver install for RHEL

bryan 2 tuần trước cách đây
mục cha
commit
1b35688806
1 tập tin đã thay đổi với 5 bổ sung3 xóa
  1. 5 3
      installJRMC

+ 5 - 3
installJRMC

@@ -20,12 +20,14 @@ shopt -s extglob
 
 declare -g SCRIPT_VERSION="1.4.9-dev"
 declare -g MC_REPO="bullseye" # should match the MC_VERSION
-declare -g MC_VERSION="33.0.72" # Do find all replace
+# declare -g MC_REPO="bookworm" # should match the MC_VERSION
+declare -g MC_VERSION="33.0.72" # do find all replace
 declare -g BOARD_URL="https://yabb.jriver.com/interact/index.php/board,86.0.html" # MC33
+# declare -g BOARD_URL="https://yabb.jriver.com/interact/index.php/board,89.0.html" # MC34
 declare -gi UPDATE_SWITCH=1 # set to 0 to disable automatic self-update
 declare -g SCRIPT_URL="https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC"
 # declare -g SCRIPT_URL="https://raw.githubusercontent.com/cryobry/installJRMC/refs/heads/master/installJRMC"
-declare -gi DEBUG=${DEBUG:-0} # det default debug and allow DEBUG env override (default: disabled)
+declare -gi DEBUG=${DEBUG:-0} # set default debug and allow DEBUG env override (default: disabled)
 
 # @description Print help text
 print_help() {
@@ -553,7 +555,7 @@ install_external_repos() {
           "https://download1.rpmfusion.org/free/el/rpmfusion-free-release-${VERSION_ID%%.*}.noarch.rpm"
       fi
       # Install mesa-va-drivers-freeworld separately from the RPM using dnf swap
-      install_mesa_freeworld
+      # install_mesa_freeworld # no longer provided by RPMFusion for EL9, etc.
       ;;
     fedora)
       if ! "${PKG_QUERY[@]}" rpmfusion-free-release &>/dev/null; then