]> gitweb.fluxo.info Git - downloaders.git/commitdiff
Set vimperator if available at tor-browser-dl
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 3 Jun 2015 01:03:14 +0000 (22:03 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 3 Jun 2015 01:03:14 +0000 (22:03 -0300)
tor-browser-dl

index 643514b5422c0f66da647c94355879c121d0e616..a067b283f690f345f5d4c6c5ebab2999964ecd5d 100755 (executable)
@@ -75,6 +75,15 @@ if [ -e "$HOME/.pentadactyl" ]; then
   )
 fi
 
+# Set vimperator if available
+if [ -e "$HOME/.vimperator" ]; then
+  (
+    cd "$APP_BASE/$ARCH-$VERSION/Browser"
+    ln -s "$HOME/.vimperator"
+    ln -s "$HOME/.vimperatorrc"
+  )
+fi
+
 # Cleanup
 rm -rf "$TEMP"
 echo "Please check and cleanup old versions at $APP_BASE"