mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
Update firefox-download.sh
This commit is contained in:
parent
cdd556fb27
commit
e0719a0358
@ -1,13 +1,12 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
FIREFOX_BINARY="firefox-58.0.tar.bz2"
|
|
||||||
echo "Checking if firefox was already downloaded"
|
echo "Checking if firefox was already downloaded"
|
||||||
if [ -e $FIREFOX_BINARY ]
|
if [ -d "firefox" ]
|
||||||
then
|
then
|
||||||
echo "$FIREFOX_BINARY found. No need to download"
|
echo "Firefox found. No need to download"
|
||||||
else
|
else
|
||||||
|
FIREFOX_BINARY="firefox-61.0.1.tar.bz2"
|
||||||
echo "Downloading firefox..."
|
echo "Downloading firefox..."
|
||||||
wget "https://ftp.mozilla.org/pub/firefox/releases/58.0/linux-x86_64/en-US/$FIREFOX_BINARY" \
|
wget "https://ftp.mozilla.org/pub/firefox/releases/58.0/linux-x86_64/en-US/$FIREFOX_BINARY" \
|
||||||
&& tar xjf "$FIREFOX_BINARY"
|
&& tar xjf "$FIREFOX_BINARY"
|
||||||
echo "firefox download complete"
|
echo "firefox download complete"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user