From cd5e7986a3fb4625e18bf590b92c290cc499cd7d Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 3 Apr 2018 12:46:43 +0200 Subject: lib/common-functions: download_sources_by_hash knows sha1sum, too, now --- lib/common-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common-functions b/lib/common-functions index d2de0c4..4184b78 100755 --- a/lib/common-functions +++ b/lib/common-functions @@ -740,7 +740,7 @@ download_sources_by_hash() { fi for arch_suffix in '' '_i686'; do - for sum_type in 'sha256sum' 'sha512sum'; do + for sum_type in 'sha1sum' 'sha256sum' 'sha512sum'; do grep '^\s*'"${sum_type}s${arch_suffix}"' = ' "${tmp_dir}/.SRCINFO" | \ sed 's|^.* = ||' | \ cat -n > \ -- cgit v1.2.3-70-g09d2