diff options
Diffstat (limited to 'share')
-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 |