1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2025-07-19 01:40:54 +00:00
This commit is contained in:
Lyle Keeton 2025-07-13 23:12:03 +02:00 committed by GitHub
commit b919df3f11
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."