Browse Source

add missed quotes

main
ghost 10 months ago
parent
commit
494f466acb
  1. 4
      update.sh

4
update.sh

@ -33,7 +33,7 @@ wget $RemoteSHA256URL -O $RemoteSHA256TMP
RemoteSHA256=$(<$RemoteSHA256TMP) RemoteSHA256=$(<$RemoteSHA256TMP)
if ! [[ ${RemoteSHA256:0:64} =~ ^([0-9a-f]{64})$ ]]; then if ! [[ ${RemoteSHA256:0:64} =~ ^([0-9a-f]{64})$ ]]; then
echo Invalid remote SHA-256 echo "Invalid remote SHA-256"
exit exit
fi fi
@ -69,7 +69,7 @@ fi
# Check for download contain valid SHA-256 # Check for download contain valid SHA-256
if ! [[ ${LocalSHA256:0:64} =~ ^([0-9a-f]{64})$ ]]; then if ! [[ ${LocalSHA256:0:64} =~ ^([0-9a-f]{64})$ ]]; then
echo Invalid local SHA-256 echo "Invalid local SHA-256"
exit exit
fi fi

Loading…
Cancel
Save