mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Add logs for Google Chrome binary checksum verification (#11366)
The Chrome installation script now has logs explaining whether the checksum verification succeeded or failed.
This commit is contained in:
parent
a171ac7b34
commit
6416a1ef98
@ -14,7 +14,10 @@ wget -O "${CHROME_BINARY}" -t 5 "${CHROME_BINARY_URL}"
|
||||
|
||||
if [[ $(shasum -a 512 "${CHROME_BINARY}" | cut '--delimiter= ' -f1) != "${CHROME_BINARY_SHA512SUM}" ]]
|
||||
then
|
||||
echo "Google Chrome binary checksum did not match."
|
||||
exit 1
|
||||
else
|
||||
echo "Google Chrome binary checksum verified."
|
||||
fi
|
||||
|
||||
(sudo dpkg -i "${CHROME_BINARY}" || sudo apt-get -fy install)
|
||||
|
Loading…
Reference in New Issue
Block a user