diff --git a/README.md b/README.md index 7035b08..16e0372 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ The official SDRPlay installer only supports Debian and Ubuntu. This script exte 1. Detects your Linux distribution and maps dependencies to the correct package names 2. Installs required system libraries (libusb, ALSA, hamlib, etc.) via your native package manager -3. Resolves the current SDRconnect and RigControl build hashes by parsing SDRPlay's official `install.sh`, falling back to built-in defaults if the upstream lookup fails +3. Resolves the current SDRconnect and RigControl build hashes *and* the current end-user licence text by parsing SDRPlay's official `install.sh`, falling back to built-in defaults if the upstream lookup fails (a prominent yellow warning is printed if the licence falls back, since the embedded copy may have drifted from upstream) 4. Downloads the SDRconnect and RigControl binaries from SDRPlay's servers 5. Verifies download integrity via SHA256 checksums 6. Installs both applications to `/opt/sdrconnect` and `/opt/rigcontrol` @@ -58,13 +58,13 @@ The script will present the SDRPlay license agreement and prompt for acceptance - `--dry-run` — Print what would be done without making changes - `ACCEPTLICENSE=1` — Skip the interactive license prompt -- `DONOTDOWNLOAD=1` — Use local tarballs instead of downloading (place them in the current directory). Also skips the upstream version lookup; pin filenames with the override variables below +- `DONOTDOWNLOAD=1` — Use local tarballs instead of downloading (place them in the current directory). Also skips the upstream lookup (build hashes and licence text); pin filenames with the override variables below - `NOTSUPPORTED=1` — Skip dependency checks entirely (install them yourself) - `SYSTEMD_MODE=install SYSTEMD_TARGET=sdrconnectserver` — Enable the server systemd service - `SDRCONNECT_GITBUILD=` — Pin the SDRconnect build hash, bypassing the upstream lookup - `RIGCONTROL_GITBUILD=` — Pin the RigControl build hash, bypassing the upstream lookup -By default the installer fetches the current build hashes from SDRPlay's official `install.sh` at runtime, so it tracks new releases without needing edits. If that fetch fails, it falls back to a pair of built-in hashes baked into the script. +By default the installer fetches the current build hashes *and* the current licence text from SDRPlay's official `install.sh` at runtime, so it tracks both new releases and licence updates without needing edits. If the fetch fails — or the licence block can't be parsed out — it falls back to copies baked into the script and prints a prominent yellow warning so you know the displayed licence may not match the current upstream version. ### Adding support for a new distro family