Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-06-18 10:02:13 +0200
committerErich Eckner <git@eckner.net>2018-06-18 10:02:13 +0200
commite98fab3592285a90a7071f6d72c5aec1ec2100b6 (patch)
tree9ae181ce9787e9c6abe0203f499103a5b5e8f551 /lib
parent4cd96169042d08142ea74b229a0dc5acaa6497f6 (diff)
lib/common-functions: download_sources_by_hash(): download by md5sum, too
Diffstat (limited to 'lib')
-rwxr-xr-xlib/common-functions2
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 > \