Skip to content

Commit

Permalink
curl params
Browse files Browse the repository at this point in the history
  • Loading branch information
nothub committed Oct 26, 2023
1 parent 82f30aa commit f00b79a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ shift $((OPTIND - 1))
iso_file=$(basename "${iso_url}")
if [[ ! -f ${iso_file} ]]; then
echo >&2 "Downloading iso image: ${iso_file}"
curl --progress-bar --location --remote-name "${iso_url}"
curl --progress-bar -Lo "${iso_file}" "${iso_url}"
fi
curl --silent --location --remote-name "$(dirname "${iso_url}")/SHA256SUMS"
curl --silent --location --remote-name "$(dirname "${iso_url}")/SHA256SUMS.sign"
curl -sSLO "$(dirname "${iso_url}")/SHA256SUMS"
curl -sSLO "$(dirname "${iso_url}")/SHA256SUMS.sign"

# verify
gpg --keyserver keyring.debian.org --recv "${sign_key}"
Expand Down

0 comments on commit f00b79a

Please sign in to comment.