]> gitweb.fluxo.info Git - trashman.git/commitdiff
Feat: hoarder: adds firefox-dev (3)
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 21 Apr 2021 23:58:13 +0000 (20:58 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 21 Apr 2021 23:58:13 +0000 (20:58 -0300)
share/hoarder/firefox-dev/unix/linux/install

index 546b85f2734f889e4eec140fa5550966ad3b2914..b37a07d6b49424acb2aa5bfa4126012226a1265d 100755 (executable)
@@ -9,13 +9,9 @@ LIB="$2"
 
 # Include basic functions
 . $LIB/trashman/functions || exit 1
-. $LIB/trashman/debian    || exit 1
 
 # Requirements
-if ! which wget &> /dev/null; then
-  echo "Needs a working wget installation."
-  exit 1
-fi
+trashman_require wget
 
 # Additional parameters
 URL="https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=linux64&lang=en"
@@ -38,6 +34,6 @@ mv ~/$WORK/firefox firefox-dev     || exit 1
 rm -rf $WORK                       || exit 1
 
 # Create symlink to scripts
-mkdir -p $HOME/.local/bina         || exit 1
+mkdir -p $HOME/.local/bin          || exit 1
 cd $HOME/.local/bin &> /dev/null   || exit 1
 ln -sf $HOME/.local/share/firefox-dev/firefox firefox-dev || exit 1