Update microsoft-apps.sh

This commit is contained in:
wattsy74
2021-09-30 17:28:59 +01:00
committed by GitHub
parent fd1c948e44
commit 6df631bb54

View File

@@ -118,7 +118,7 @@ fi
echo "Verifying Checksum" >> "${logfile}"
echo "Status: Verifying Checksum" >> ${deplog}
CHECKSUM=$(shasum -a 256 ${SOFTWARE_NAME}.pkg | awk -F" " '{print $1}')
CHECKSUM=$(shasum -a 256 "${SOFTWARE_NAME}.pkg" | awk -F" " '{print $1}')
if [[ $CHECKSUM == $SHA256 ]]; then
echo ">> Checksum OK" >> "${logfile}"