index : releng | |
Archlinux32 release engineering | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-07-19 14:15:54 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-07-19 14:15:54 +0200 |
commit | ff856616ab46da96d8b05b67c3712cfc25fd858f (patch) | |
tree | f763e68220644649e4bf585694e7115d047c420f | |
parent | 93718d5bc0b09014a612cb34c13d1373047d3f3a (diff) |
-rwxr-xr-x | al32-mktorrent.sh | 8 |
diff --git a/al32-mktorrent.sh b/al32-mktorrent.sh index fcedce4..4cfd22b 100755 --- a/al32-mktorrent.sh +++ b/al32-mktorrent.sh @@ -73,8 +73,12 @@ function create_torrent_for_arch () { echo -e "$fg_reset${fg_bold}Downloading verification files...$fg_reset" - curl -O "${available_mirrors[0]}$iso_string.sig" - curl -O "${available_mirrors[0]}sha512sums" + if [ ! -f "$iso_string.sig" ] ; then + curl -O "${available_mirrors[0]}$iso_string.sig" + fi + if [ ! -f "sha512sums" ] ; then + curl -O "${available_mirrors[0]}sha512sums" + fi echo -n -e "$fg_reset${fg_bold}Checking PGP signature...$fg_reset " gpg --verify "$iso_string.sig" "$iso_string" || exit 100 |