]> gitweb.fluxo.info Git - trashman.git/commitdiff
Feat: hoarder: adds firefox-dev (6)
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 22 Apr 2021 00:06:26 +0000 (21:06 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 22 Apr 2021 00:06:26 +0000 (21:06 -0300)
share/hoarder/firefox-dev/unix/linux/install

index c168b0fa213f8edaffd37af800877985d80717f9..78c30cbe85c1d2a29f8204015b06f94524a4340f 100755 (executable)
@@ -16,17 +16,16 @@ trashman_require wget
 # Additional parameters
 #URL="https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=linux64&lang=pt-BR"
 URL="https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=linux64"
-FILE="firefox-dev-latest.tar.bz"
+FILE="firefox-dev-latest.tar.bz2"
 
-# Working folder
+# Download
 CWD="`pwd`"
-WORK="`mktemp -d`" || exit 1
-cd $WORK &> /dev/null
-
-# Get the code
-wget "$URL" -O $FILE   || exit 1
-tar xvf        $FILE   || exit 1
+WORK="`mktemp -d`"    || exit 1
+cd $WORK &> /dev/null || exit 1
+wget "$URL" -O $FILE  || exit 1
+tar xvf        $FILE  || exit 1
 
+# Install
 cd $CWD
 mkdir -p $HOME/.local/share        || exit 1
 cd $HOME/.local/share &> /dev/null || exit 1