diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2021-04-21 21:09:01 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2021-04-21 21:09:01 -0300 |
commit | e6bead70a7e71f69fe9e666bd1d9ddf94445fd8f (patch) | |
tree | c80db3fc90e68bc79d1a2a92bbd771208e6fc70b /share/hoarder/firefox-dev | |
parent | 8a311f68adb926c069f79a29fb8f714ef1f61e76 (diff) | |
download | trashman-e6bead70a7e71f69fe9e666bd1d9ddf94445fd8f.tar.gz trashman-e6bead70a7e71f69fe9e666bd1d9ddf94445fd8f.tar.bz2 |
Feat: hoarder: adds firefox-dev (7)
Diffstat (limited to 'share/hoarder/firefox-dev')
-rwxr-xr-x | share/hoarder/firefox-dev/unix/linux/install | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/share/hoarder/firefox-dev/unix/linux/install b/share/hoarder/firefox-dev/unix/linux/install index 78c30cb..1691306 100755 --- a/share/hoarder/firefox-dev/unix/linux/install +++ b/share/hoarder/firefox-dev/unix/linux/install @@ -20,20 +20,19 @@ FILE="firefox-dev-latest.tar.bz2" # Download CWD="`pwd`" -WORK="`mktemp -d`" || exit 1 -cd $WORK &> /dev/null || exit 1 -wget "$URL" -O $FILE || exit 1 -tar xvf $FILE || exit 1 +WORK="`mktemp -d`" || exit 1 +wget "$URL" -O $WORK/$FILE || exit 1 +tar xvf $FILE -C $WORK || exit 1 # Install cd $CWD -mkdir -p $HOME/.local/share || exit 1 -cd $HOME/.local/share &> /dev/null || exit 1 -rm -rf firefox-dev || exit 1 -mv $WORK/firefox firefox-dev || exit 1 -rm -rf $WORK || exit 1 +mkdir -p $HOME/.local/share || exit 1 +cd $HOME/.local/share || exit 1 +rm -rf firefox-dev || exit 1 +mv $WORK/firefox firefox-dev || exit 1 +rm -rf $WORK || exit 1 # Create symlink to scripts -mkdir -p $HOME/.local/bin || exit 1 -cd $HOME/.local/bin &> /dev/null || exit 1 +mkdir -p $HOME/.local/bin || exit 1 +cd $HOME/.local/bin || exit 1 ln -sf $HOME/.local/share/firefox-dev/firefox firefox-dev || exit 1 |