mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Allow firefox binary to be cached
This commit is contained in:
parent
5b58c2acb4
commit
0af1702a3f
@ -1,6 +1,13 @@
|
||||
#!/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..."
|
||||
wget "https://ftp.mozilla.org/pub/firefox/releases/58.0/linux-x86_64/en-US/$FIREFOX_BINARY" \
|
||||
&& tar xjf "$FIREFOX_BINARY"
|
||||
echo "firefox download complete"
|
||||
fi
|
||||
|
||||
echo "Downloading firefox..."
|
||||
wget https://ftp.mozilla.org/pub/firefox/releases/58.0/linux-x86_64/en-US/firefox-58.0.tar.bz2 \
|
||||
&& tar xjf firefox-58.0.tar.bz2
|
||||
echo "firefox download complete"
|
||||
|
Loading…
Reference in New Issue
Block a user