From ec912ace6823c35d38eac2510e300cb52e6b9071 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 5 May 2024 20:01:04 +0200 Subject: [PATCH] Update install.sh --- src/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/install.sh b/src/install.sh index 89e6f74..e50c6dd 100644 --- a/src/install.sh +++ b/src/install.sh @@ -281,7 +281,7 @@ verifyFile() { local check="$4" if [ -n "$size" ] && [[ "$total" != "$size" ]] && [[ "$size" != "0" ]]; then - warn "The downloaded file has an unexpected size: $total bytes! Please report this at $SUPPORT/issues" + warn "The downloaded file has an invalid size: $total bytes, while expected value was: $size bytes. Please report this at $SUPPORT/issues" fi local hash="" @@ -304,7 +304,7 @@ verifyFile() { info "Succesfully verified ISO!" && return 0 fi - error "Invalid $algo checksum: $hash , but expected value is: $check ! Please report this at $SUPPORT/issues" + error "The downloaded file has an invalid $algo checksum: $hash , while expected value was: $check. Please report this at $SUPPORT/issues" rm -f "$iso" return 1