Update firefox-download.sh

feature/default_network_editable
Bruno Barbieri 6 years ago committed by GitHub
parent ca17cfbc65
commit 32813b23a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      .circleci/scripts/firefox-download.sh

@ -4,9 +4,10 @@ if [ -d "firefox" ]
then then
echo "Firefox found. No need to download" echo "Firefox found. No need to download"
else else
FIREFOX_BINARY="firefox-61.0.1.tar.bz2" FIREFOX_VERSION="61.0.1"
FIREFOX_BINARY="firefox-${!FIREFOX_VERSION}.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/$FIREFOX_VERSION/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…
Cancel
Save