about summary refs log tree commit diff
path: root/scripts/nix-prefetch-url.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-03-14T18·55+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-03-14T18·55+0000
commit5675d5f48819b84e297d3577d6e9b1694f9b6192 (patch)
tree34b11adf9cac697ff3d50639a2a1d01ad39f8944 /scripts/nix-prefetch-url.in
parent6fb5f7e532bf43ecf02004a4010496e9f98d09bc (diff)
* Idem.
Diffstat (limited to 'scripts/nix-prefetch-url.in')
-rw-r--r--scripts/nix-prefetch-url.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-prefetch-url.in b/scripts/nix-prefetch-url.in
index 2311d1bde690..6153838335ed 100644
--- a/scripts/nix-prefetch-url.in
+++ b/scripts/nix-prefetch-url.in
@@ -9,7 +9,7 @@ if test -z "$hashType"; then
 fi
 
 hashFormat=
-if test "$hashType" = "sha1"; then
+if test "$hashType" != "md5"; then
     hashFormat=--base32
 fi