Fix for axel

This commit is contained in:
2023-01-13 18:31:40 -05:00
parent b0dce34b83
commit e2ee50197c

View File

@@ -374,10 +374,10 @@ getImageBuilder() {
debug "Verifying checksums" debug "Verifying checksums"
if [[ -f $SHA256_FILE ]] && askOk "$SHA256_FILE exists. Re-download?"; then if [[ -f $SHA256_FILE ]] && askOk "$SHA256_FILE exists. Re-download?"; then
if ! $dl_tool -so "$SHA256_FILE" "$SHA256_URL"; then if ! $dl_tool -o "$SHA256_FILE" "$SHA256_URL"; then
debug "Failed to download checksum" debug "Failed to download checksum"
fi fi
elif ! $dl_tool -so "$SHA256_FILE" "$SHA256_URL"; then elif ! $dl_tool -o "$SHA256_FILE" "$SHA256_URL"; then
debug "Failed to download checksum" debug "Failed to download checksum"
fi fi