From b81df9c93ccfff90cb6c69d51e9dad78da6208ae Mon Sep 17 00:00:00 2001 From: drduh Date: Thu, 10 Apr 2025 18:13:22 -0700 Subject: [PATCH] simplify debian image urls --- README.md | 9 +++++---- 1 file 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: