We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bb6126 commit 41a8c5eCopy full SHA for 41a8c5e
gvm
@@ -20,9 +20,11 @@ then
20
if [[ "$yn" == "Y" || "$yn" == "y" ]]
21
then
22
script=$(curl -sL "$GVMURL")
23
- if [[ $(echo "$script" | shasum -a 256) != "$EXPECTEDSUM" ]]
+ DOWNLOADEDSUM=$(echo "$script" | shasum -a 256)
24
+ if [[ $DOWNLOADEDSUM != "$EXPECTEDSUM" ]]
25
26
printf "Checksum does not match new version of GVM [%s]" "$SCRIPTVERSION"
27
+ printf "Expected: %s" "$EXPECTEDSUM; Actual: $(echo "$script" | shasum -a 256)"
28
exit 1
29
fi
30
0 commit comments