mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 01:47:00 +01:00
change download location of chrome file (#11346)
* change download location of chrome file * Update .circleci/scripts/chrome-install.sh Co-authored-by: Mark Stacey <markjstacey@gmail.com> Co-authored-by: Mark Stacey <markjstacey@gmail.com>
This commit is contained in:
parent
52de2cda49
commit
7cc747c792
@ -6,10 +6,17 @@ set -o pipefail
|
||||
|
||||
CHROME_VERSION='79.0.3945.117-1'
|
||||
CHROME_BINARY="google-chrome-stable_${CHROME_VERSION}_amd64.deb"
|
||||
CHROME_BINARY_URL="http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/${CHROME_BINARY}"
|
||||
CHROME_BINARY_URL="http://mirror.cs.uchicago.edu/google-chrome/pool/main/g/google-chrome-stable/${CHROME_BINARY}"
|
||||
|
||||
CHROME_BINARY_SHA512SUM='2d4f76202219a40e560477d79023fa4a847187a086278924a9d916dcd5fbefafdcf7dfd8879fae907b8276b244e71a3b8a1b00a88dee87b18738ce31134a6713'
|
||||
|
||||
wget -O "${CHROME_BINARY}" -t 5 "${CHROME_BINARY_URL}"
|
||||
|
||||
if [[ $(shasum -a 512 "${CHROME_BINARY}" | cut '--delimiter= ' -f1) != "${CHROME_BINARY_SHA512SUM}" ]]
|
||||
then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
(sudo dpkg -i "${CHROME_BINARY}" || sudo apt-get -fy install)
|
||||
|
||||
rm -rf "${CHROME_BINARY}"
|
||||
|
Loading…
Reference in New Issue
Block a user