1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 18:00:18 +01:00

Allow firefox binary to be cached

This commit is contained in:
Bruno Barbieri 2018-07-06 15:51:35 -04:00 committed by GitHub
parent 5b58c2acb4
commit 0af1702a3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,13 @@
#!/usr/bin/env bash #!/usr/bin/env bash
FIREFOX_BINARY="firefox-58.0.tar.bz2"
echo "Checking if firefox was already downloaded"
if [ -e $FIREFOX_BINARY ]
then
echo "$FIREFOX_BINARY found. No need to download"
else
echo "Downloading firefox..." echo "Downloading firefox..."
wget https://ftp.mozilla.org/pub/firefox/releases/58.0/linux-x86_64/en-US/firefox-58.0.tar.bz2 \ wget "https://ftp.mozilla.org/pub/firefox/releases/58.0/linux-x86_64/en-US/$FIREFOX_BINARY" \
&& tar xjf firefox-58.0.tar.bz2 && tar xjf "$FIREFOX_BINARY"
echo "firefox download complete" echo "firefox download complete"
fi