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

index 16913060909c1421e49ade92f99512bfe79ae54a..c194acf5c3ab73fcdf4972c3d70440c780605ecc 100755 (executable)
@@ -17,15 +17,13 @@ trashman_require wget
 #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.bz2"
+WORK="`mktemp -d`" || exit 1
 
 # Download
-CWD="`pwd`"
-WORK="`mktemp -d`"         || exit 1
-wget "$URL" -O $WORK/$FILE || exit 1
-tar xvf $FILE -C $WORK     || exit 1
+wget "$URL" -O $WORK/$FILE   || exit 1
+tar xvf $WORK/$FILE -C $WORK || exit 1
 
 # Install
-cd $CWD
 mkdir -p $HOME/.local/share  || exit 1
 cd $HOME/.local/share        || exit 1
 rm -rf firefox-dev           || exit 1