Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

firefox nightly linux curl install fedora

#!/bin/bash
cd /opt/
FILE=`curl https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora/ |
    grep 'firefox-.{2,6}.en-US.linux-x86_64.tar.bz2' -o -m 1 |
    head -1`
wget -O /tmp/aurora.tar.bz2 
    https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora/$FILE
mkdir -p /tmp/aurora
tar -C /tmp/aurora -xjf /tmp/aurora.tar.bz2
rm -r /opt/aurora
mv /tmp/aurora/firefox /opt/aurora
Source by jonsson.xyz #
 
PREVIOUS NEXT
Tagged: #firefox #nightly #linux #curl #install #fedora
ADD COMMENT
Topic
Name
6+5 =