Commit c3423040 authored by Luc Didry's avatar Luc Didry
Browse files

Fix SHA512SUMS download

parent 43284b9a
......@@ -85,7 +85,8 @@ then
echo -ne 'Downloading latest Debian amd64 netinst ISO [===> ](10%)\r'
wget -q -O - https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/ | grep "netinst.iso" | grep -v "debian-mac" | sed -e 's@.*a href="\(.*\)".*@wget -q https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/\1 -O debian-netinst-latest.iso@' | bash
wget -q https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/SHA512SUMS https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/SHA512SUMS.sign
wget -q https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/SHA512SUMS -O SHA512SUMS
wget -q https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/SHA512SUMS.sign -O SHA512SUMS.sign
echo -ne 'Verifying GPG signature [======> ](20%)\r'
gpg --verify SHA512SUMS.sign SHA512SUMS > /dev/null 2>&1
if [ $? -ne 0 ]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment