1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-05-30 17:30:53 +00:00
This commit is contained in:
Lyle Keeton 2025-05-17 08:33:18 +05:00 committed by GitHub
commit abfc69621c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -192,7 +192,7 @@ function wget_verify {
DEST=$3
CHECKSUM="$HASH $DEST"
rm -f "$DEST"
hide_output wget -O "$DEST" "$URL"
wget -q --show-progress --progress=dot:giga -O "$DEST" "$URL"
if ! echo "$CHECKSUM" | sha1sum --check --strict > /dev/null; then
echo "------------------------------------------------------------"
echo "Download of $URL did not match expected checksum."