diff options
author | Erich Eckner <git@eckner.net> | 2018-06-18 10:02:13 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-06-18 10:02:13 +0200 |
commit | e98fab3592285a90a7071f6d72c5aec1ec2100b6 (patch) | |
tree | 9ae181ce9787e9c6abe0203f499103a5b5e8f551 /lib/common-functions | |
parent | 4cd96169042d08142ea74b229a0dc5acaa6497f6 (diff) | |
download | builder-e98fab3592285a90a7071f6d72c5aec1ec2100b6.tar.xz |
lib/common-functions: download_sources_by_hash(): download by md5sum, too
Diffstat (limited to 'lib/common-functions')
-rwxr-xr-x | lib/common-functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/common-functions b/lib/common-functions index aa78ebd..0585917 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -516,7 +516,7 @@ download_sources_by_hash() { fi for arch_suffix in '' '_i686'; do - for sum_type in 'sha1sum' 'sha256sum' 'sha512sum'; do + for sum_type in 'md5sum' 'sha1sum' 'sha256sum' 'sha512sum'; do grep '^\s*'"${sum_type}s${arch_suffix}"' = ' "${tmp_dir}/.SRCINFO" | \ sed 's|^.* = ||' | \ cat -n > \ |