diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2021-04-21 21:06:26 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2021-04-21 21:06:26 -0300 |
commit | 8a311f68adb926c069f79a29fb8f714ef1f61e76 (patch) | |
tree | 9b0aac574472e2fadd9bf8562273e2b5a8204313 /share/hoarder/firefox-dev/unix/linux/install | |
parent | a3cdeebc7ca7698e608e5165fd126ba1d6b3fd59 (diff) | |
download | trashman-8a311f68adb926c069f79a29fb8f714ef1f61e76.tar.gz trashman-8a311f68adb926c069f79a29fb8f714ef1f61e76.tar.bz2 |
Feat: hoarder: adds firefox-dev (6)
Diffstat (limited to 'share/hoarder/firefox-dev/unix/linux/install')
-rwxr-xr-x | share/hoarder/firefox-dev/unix/linux/install | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/share/hoarder/firefox-dev/unix/linux/install b/share/hoarder/firefox-dev/unix/linux/install index c168b0f..78c30cb 100755 --- a/share/hoarder/firefox-dev/unix/linux/install +++ b/share/hoarder/firefox-dev/unix/linux/install @@ -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 |