summaryrefslogtreecommitdiffstats
path: root/debootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'debootstrap')
-rwxr-xr-xdebootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/debootstrap b/debootstrap
index 278ed64..ca4c026 100755
--- a/debootstrap
+++ b/debootstrap
@@ -447,7 +447,7 @@ fi
if [ -z "$SHA_SIZE" ]; then
SHA_SIZE=256
fi
-if ! in_path "sha${SHA_SIZE}sum"; then
+if ! in_path "sha${SHA_SIZE}sum" && ! in_path "sha${SHA_SIZE}"; then
SHA_SIZE=1
fi
DEBOOTSTRAP_CHECKSUM_FIELD="SHA$SHA_SIZE"