Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Fiat Tux
Hat softwares
preseed-creator
Commits
c3423040
Commit
c3423040
authored
Dec 13, 2017
by
Luc Didry
Browse files
Fix SHA512SUMS download
parent
43284b9a
Changes
1
Hide whitespace changes
Inline
Side-by-side
preseed_creator.sh
View file @
c3423040
...
...
@@ -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
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment