Skip to content

Commit

Permalink
Updating the firefox download URL
Browse files Browse the repository at this point in the history
  • Loading branch information
hposca committed Dec 28, 2015
1 parent 59f373b commit fa58740
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions update_firefox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ set -u
#########

_temp_dir=$(mktemp -d)
echo "$(color lightyellow ">>>>> Created temporary directory: $_temp_dir")"
cd $_temp_dir

echo "$(color green ">>>>> Downloading newest version of firefox...")"

_firefox_url="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/latest/linux-x86_64/en-US/"
wget -A.bz2 -r -np -nd $_firefox_url -P .
_firefox_url="https://download.mozilla.org/?product=firefox-latest&os=linux64&lang=en-US"
wget -O firefox.tar.bz2 $_firefox_url

echo "$(color green ">>>>> Extracting files...")"

Expand Down

0 comments on commit fa58740

Please sign in to comment.