Update install.sh

This commit is contained in:
Kroese 2024-05-01 19:40:11 +02:00 committed by GitHub
parent e8b3066bc6
commit 72e8bdf62e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -277,7 +277,7 @@ verifyFile() {
local version="$2" local version="$2"
local hash check local hash check
info "Calculating SHA256 checksum of the downloaded ISO file..." info "Calculating SHA256 checksum of the ISO file..."
hash=$(sha256sum "$iso" | cut -f1 -d' ') hash=$(sha256sum "$iso" | cut -f1 -d' ')
[ -n "$version" ] && check=$(getHash "$version") [ -n "$version" ] && check=$(getHash "$version")