fix cmd typo

This commit is contained in:
Asif Bacchus 2020-09-15 00:31:29 -06:00
parent 2427aa628b
commit 3d9c1728a1

View File

@ -90,7 +90,7 @@ fi
### script self-update
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*' )
if [ "$localScriptChecksum" = "$repoScriptChecksum" ]; then
printf "[NONE]\n"