diff options
-rwxr-xr-x | share/hoarder/firefox-dev/unix/linux/install | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/share/hoarder/firefox-dev/unix/linux/install b/share/hoarder/firefox-dev/unix/linux/install index 1691306..c194acf 100755 --- a/share/hoarder/firefox-dev/unix/linux/install +++ b/share/hoarder/firefox-dev/unix/linux/install @@ -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 |