fix cmd typo
This commit is contained in:
parent
2427aa628b
commit
3d9c1728a1
@ -90,7 +90,7 @@ fi
|
|||||||
|
|
||||||
### script self-update
|
### script self-update
|
||||||
printf "checking for updates to this script... "
|
printf "checking for updates to this script... "
|
||||||
localScriptChecksum=$( sha256 "./$scriptName" | grep -o '^\S*' )
|
localScriptChecksum=$( sha256sum "./$scriptName" | grep -o '^\S*' )
|
||||||
repoScriptChecksum=$( grep "$scriptName" "$checksumFilename" | grep -o '^\S*' )
|
repoScriptChecksum=$( grep "$scriptName" "$checksumFilename" | grep -o '^\S*' )
|
||||||
if [ "$localScriptChecksum" = "$repoScriptChecksum" ]; then
|
if [ "$localScriptChecksum" = "$repoScriptChecksum" ]; then
|
||||||
printf "[NONE]\n"
|
printf "[NONE]\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user