From e98fab3592285a90a7071f6d72c5aec1ec2100b6 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 18 Jun 2018 10:02:13 +0200 Subject: lib/common-functions: download_sources_by_hash(): download by md5sum, too --- lib/common-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 > \ -- cgit v1.2.3-70-g09d2