Browse Source

Update defaults for MC34

bryan 1 tháng trước cách đây
mục cha
commit
ca5e1ef2f6
2 tập tin đã thay đổi với 7 bổ sung9 xóa
  1. 3 3
      README.md
  2. 4 6
      installJRMC

+ 3 - 3
README.md

@@ -29,7 +29,7 @@ $ installJRMC --help
 --compat
     Build/install MC without minimum dependency version requirements
 --mcversion VERSION
-    Build or install a specific MC version, ex. "33.0.72" or "33" (default: latest)
+    Build or install a specific MC version, ex. "34.0.20" or "33" (default: latest)
 --mcrepo REPO
     Specify the MC repository, ex. "bullseye", "bookworm", "noble", etc (default: latest official)
 --arch ARCH
@@ -126,9 +126,9 @@ Multiple services (but not `--service-types`) can be installed at one time using
 
     Install MC from the repository and start/enable `jriver-mediacenter.service` as a user service.
 
-* `installJRMC --install local --compat --restorefile /path/to/license.mjr --mcversion 33.0.72`
+* `installJRMC --install local --compat --restorefile /path/to/license.mjr --mcversion 34.0.20`
 
-    Build and install an MC 33.0.72 compatibility RPM locally and activate it using the `/path/to/license.mjr`
+    Build and install an MC 34.0.20 compatibility RPM locally and activate it using the `/path/to/license.mjr`
 
 * `installJRMC --createrepo --createrepo-webroot /srv/jriver/repo --createrepo-user www-user`
 

+ 4 - 6
installJRMC

@@ -19,12 +19,10 @@
 # * Avoid execute() for stdout
 shopt -s extglob
 
-declare -g SCRIPT_VERSION="1.6.4"
-declare -g MC_VERSION="33.0.72" # do find all replace
-declare -g MC_REPO="bullseye" # should match the MC_VERSION
-# declare -g MC_REPO="bookworm" # should match the MC_VERSION
-declare -g BOARD_ID="86.0" # MC33
-# declare -g BOARD_ID="89.0" # MC34
+declare -g SCRIPT_VERSION="1.6.5-dev"
+declare -g MC_VERSION="34.0.20" # do find all replace
+declare -g MC_REPO="bookworm" # should match the MC_VERSION
+declare -g BOARD_ID="89.0" # 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"