3 Commits

Author SHA1 Message Date
d79057e2ab 1.35.13 release 2026-02-25 17:19:56 -05:00
e82eeed43c Add missing success message 2026-02-25 17:18:45 -05:00
1428c86d83 Update Arch depends 2026-02-06 19:03:00 -05:00
3 changed files with 15 additions and 13 deletions

View File

@@ -31,7 +31,7 @@ $ installJRMC --help
--compat
Build/install MC without minimum dependency version requirements.
--mcversion VERSION
Specify the MC version, ex. "33", "35.0.43", or "35.0.43-1" (default: latest).
Specify the MC version, ex. "33", "35.0.51", or "35.0.51-1" (default: latest).
--arch ARCH
Specify the target MC architecture, ex. "amd64", "arm64", etc (default: host architecture).
--mcrepo REPO
@@ -126,8 +126,8 @@ Install the latest version of MC33 from the best available repository with debug
Install a more widely-compatible version of the latest MC version.
[code]installJRMC --install repo --service jriver-mediacenter --service-type user[/code]
Install MC from the repository and start/enable jriver-mediacenter.service as a user service.
[code]installJRMC --install local --compat --restorefile /path/to/license.mjr --mcversion 35.0.43[/code]
Build and install an MC 35.0.43 comptability RPM locally and activate it using the [tt]/path/to/license.mjr[/tt].
[code]installJRMC --install local --compat --restorefile /path/to/license.mjr --mcversion 35.0.51[/code]
Build and install an MC 35.0.51 comptability RPM locally and activate it using the [tt]/path/to/license.mjr[/tt].
[code]installJRMC --createrepo --createrepo-webroot /srv/jriver/repo --createrepo-user www-user[/code]
Build an RPM locally for the current distro, move it to the webroot, and run createrepo as www-user.
[code]installJRMC --service jriver-createrepo --createrepo-webroot /srv/jriver/repo --createrepo-user www-user[/code]

View File

@@ -28,7 +28,7 @@ $ installJRMC --help
--compat
Build/install MC without minimum dependency version requirements.
--mcversion VERSION
Build or install a specific MC version, ex. "35.0.43" or "33" (default: latest).
Build or install a specific MC version, ex. "35.0.51" or "33" (default: latest).
--mcrepo REPO
Specify the MC repository, ex. "bullseye", "bookworm", "noble", etc (default: latest official).
--arch ARCH
@@ -130,9 +130,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 35.0.43`
* `installJRMC --install local --compat --restorefile /path/to/license.mjr --mcversion 35.0.51`
Build and install an MC 35.0.43 compatibility RPM locally and activate it using the `/path/to/license.mjr`.
Build and install an MC 35.0.51 compatibility RPM locally and activate it using the `/path/to/license.mjr`.
* `installJRMC --createrepo --createrepo-webroot /srv/jriver/repo --createrepo-user www-user`

View File

@@ -21,8 +21,8 @@
# shellcheck disable=SC2329
shopt -s extglob
declare -g SCRIPT_VERSION="1.35.12"
declare -g MC_VERSION_HARDCODE="35.0.43" # do find all replace
declare -g SCRIPT_VERSION="1.35.13"
declare -g MC_VERSION_HARDCODE="35.0.51" # do find all replace
declare -g MC_REPO_HARDCODE="bookworm" # should match the MC_VERSION_HARDCODE
declare -g BOARD_ID="92.0" # MC35 board ID for fallback latest version detection
declare -gi SELF_UPDATE_SWITCH=1 # 0 to disable installJRMC self-update
@@ -857,8 +857,8 @@ translate_packages() {
;;
arch)
# Set these manually for Arch since they are quite different
requires_arr=('alsa-lib' 'ca-certificates' 'gtk3' 'gcc-libs' 'libx11' 'libxext'
'libxcb' 'libxau' 'libxdmcp' 'util-linux' 'mesa-libgl' 'webkit2gtk')
requires_arr=('alsa-lib' 'ca-certificates' 'dbus' 'gtk3' 'gcc-libs' 'libx11' 'libxext'
'libxcb' 'libxau' 'libxdmcp' 'libxss' 'util-linux' 'mesa-libgl' 'webkit2gtk')
recommends_arr=('mesa-libgl' 'nvidia-libgl' 'nvidia-utils' 'vulkan-intel'
'vulkan-radeon' 'vorbis-tools' 'musepack-tools')
;;
@@ -1844,8 +1844,10 @@ main() {
fi
echo "Installing $MC_PKG package"
if ! install_package --no-install-check --no-gpg-check --allow-downgrades "$MC_PKG"; then
err "MC package install failed!"
if install_package --no-install-check --no-gpg-check --allow-downgrades "$MC_PKG"; then
echo "Successfully installed JRiver Media Center from repository"
else
err "MC failed to install"
remove_legacy_repo
return 1
fi
@@ -1901,7 +1903,7 @@ main() {
# shellcheck disable=SC2181
if [[ $? -eq 0 ]]; then
echo "Successfully installed JRiver Media Center"
echo "Successfully installed JRiver Media Center from local package"
else
err "MC package install failed!"
fi