aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci
diff options
context:
space:
mode:
authorBruno Barbieri <bruno.barbieri@consensys.net>2018-07-07 04:16:18 +0800
committerGitHub <noreply@github.com>2018-07-07 04:16:18 +0800
commite0719a0358dc3fca11fa920f0f493d1a56a2e0fc (patch)
tree61a59c8f37502bdd5809f00df6a17d72c79b18f5 /.circleci
parentcdd556fb2700019d79b7e362ba1a5ccd5559e35a (diff)
downloadtangerine-wallet-browser-e0719a0358dc3fca11fa920f0f493d1a56a2e0fc.tar
tangerine-wallet-browser-e0719a0358dc3fca11fa920f0f493d1a56a2e0fc.tar.gz
tangerine-wallet-browser-e0719a0358dc3fca11fa920f0f493d1a56a2e0fc.tar.bz2
tangerine-wallet-browser-e0719a0358dc3fca11fa920f0f493d1a56a2e0fc.tar.lz
tangerine-wallet-browser-e0719a0358dc3fca11fa920f0f493d1a56a2e0fc.tar.xz
tangerine-wallet-browser-e0719a0358dc3fca11fa920f0f493d1a56a2e0fc.tar.zst
tangerine-wallet-browser-e0719a0358dc3fca11fa920f0f493d1a56a2e0fc.zip
Update firefox-download.sh
Diffstat (limited to '.circleci')
-rwxr-xr-x.circleci/scripts/firefox-download.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/.circleci/scripts/firefox-download.sh b/.circleci/scripts/firefox-download.sh
index 4b828a6ff..1cb9ba5ac 100755
--- a/.circleci/scripts/firefox-download.sh
+++ b/.circleci/scripts/firefox-download.sh
@@ -1,13 +1,12 @@
#!/usr/bin/env bash
-FIREFOX_BINARY="firefox-58.0.tar.bz2"
echo "Checking if firefox was already downloaded"
-if [ -e $FIREFOX_BINARY ]
+if [ -d "firefox" ]
then
- echo "$FIREFOX_BINARY found. No need to download"
+ echo "Firefox found. No need to download"
else
+ FIREFOX_BINARY="firefox-61.0.1.tar.bz2"
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
-