summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 54a7d29f9..4eaed045b 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -875,7 +875,15 @@ Set_defaults ()
fi
# Setting checksums
- LB_CHECKSUMS="${LB_CHECKSUMS:-sha256}"
+ case "${LB_MODE}" in
+ progress-linux)
+ LB_CHECKSUMS="${LB_CHECKSUMS:-sha256}"
+ ;;
+
+ *)
+ LB_CHECKSUMS="${LB_CHECKSUMS:-md5}"
+ ;;
+ esac
# Setting compression
LB_COMPRESSION="${LB_COMPRESSION:-none}"