Implement automatic repo selection

This commit is contained in:
2024-08-31 21:05:31 -04:00
parent f96c2e25c0
commit de1eeb194b
2 changed files with 60 additions and 156 deletions

View File

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