aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar drduh <github@duh.to> 2025-04-10 18:13:22 -0700
committerGravatar drduh <github@duh.to> 2025-04-10 18:13:22 -0700
commitb81df9c93ccfff90cb6c69d51e9dad78da6208ae (patch)
treed4a1faeaa117c8b199858cf7fd50870ce8f9b59a
parentc341c08c95cd005b86ea1255d1bb85e1cfa3494e (diff)
downloadYubiKey-Guide-b81df9c93ccfff90cb6c69d51e9dad78da6208ae.tar.gz
YubiKey-Guide-b81df9c93ccfff90cb6c69d51e9dad78da6208ae.tar.zst
YubiKey-Guide-b81df9c93ccfff90cb6c69d51e9dad78da6208ae.zip
simplify debian image urls
-rw-r--r--README.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/README.md b/README.md
index fbd2394..a08b146 100644
--- a/README.md
+++ b/README.md
@@ -90,17 +90,18 @@ Debian Live is used in this guide to balance usability and security, with some a
Download the latest image and signature files:
```console
-curl -fLO "https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/SHA512SUMS"
+export IMAGE_URL="https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/"
-curl -fLO "https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/SHA512SUMS.sign"
+curl -fLO "$IMAGE_URL/SHA512SUMS" -O "$IMAGE_URL/SHA512SUMS.sign"
-curl -fLO "https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/$(awk '/xfce.iso$/ {print $2}' SHA512SUMS)"
+curl -fLO "$IMAGE_URL/$(awk '/xfce.iso$/ {print $2}' SHA512SUMS)"
```
Download the Debian signing public key:
```console
-gpg --keyserver hkps://keyring.debian.org --recv DF9B9C49EAA9298432589D76DA87E80D6294BE9B
+gpg --keyserver hkps://keyring.debian.org \
+ --recv DF9B9C49EAA9298432589D76DA87E80D6294BE9B
```
If the public key cannot be received, use a different keyserver or DNS server: