From fd3c5fa8bf7dfa5a7ea067f0988b816a4f8ad9b6 Mon Sep 17 00:00:00 2001 From: Murilo Marinho Date: Wed, 7 Oct 2026 16:06:57 +0100 Subject: [PATCH] [README.md] Install the CC BY-NC 4.0 packages with a one-line installer Replace the manual key/source/install steps by the curl | bash bootstrap now published in MarinhoLab/sas-full, mirroring the LGPL one-line installer. Co-authored-by: openhands --- docs/README.md | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/docs/README.md b/docs/README.md index 517ffad..949f9ee 100644 --- a/docs/README.md +++ b/docs/README.md @@ -144,13 +144,23 @@ The CC BY-NC 4.0 packages are available in `amd64` and `arm64`. The command below will add and install the `sas` CC BY-NC 4.0 packages via `apt-get`. Please note that they depend on `sas` LGPL packages. ```bash -curl -s --compressed "https://marinholab.github.io/sas_debian_builder_noncommercial/KEY.gpg" \ -| gpg --dearmor \ -| sudo tee /etc/apt/trusted.gpg.d/smartarmstack_cc_by_nc.gpg >/dev/null -sudo curl -s --compressed -o /etc/apt/sources.list.d/smartarmstack_cc_by_nc.list \ -"https://marinholab.github.io/sas_debian_builder_noncommercial/smartarmstack_cc_by_nc.list" -sudo apt update -sudo apt-get install ros-jazzy-sas-* +curl -fsSL https://raw.githubusercontent.com/MarinhoLab/sas-full/main/jazzy/install.sh | bash +``` + +```{note} +:class: dropdown +#### Click here for the installer options + +The script uses `sudo` only when it is not run as root. Options go to `bash`, +e.g. `curl -fsSL | bash -s -- -n`. + +| Option | Effect | +|-------------------|-------------------------------------------------------------------| +| `-n`, `--dry-run` | Print the privileged steps instead of running them | +| `-v`, `--verbose` | Explain what is being reused/skipped | +| `-h`, `--help` | Show the help | + +`SAS_NC_APT_URL` overrides the base URL of the CC BY-NC 4.0 apt repository. ``` ```{note}