From 8a311f68adb926c069f79a29fb8f714ef1f61e76 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 21 Apr 2021 21:06:26 -0300 Subject: Feat: hoarder: adds firefox-dev (6) --- share/hoarder/firefox-dev/unix/linux/install | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'share/hoarder/firefox-dev') 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 -- cgit v1.2.3