]> gitweb.fluxo.info Git - qutebrowser.git/commitdiff
Update support
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 21 Dec 2017 12:37:20 +0000 (10:37 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 21 Dec 2017 12:37:20 +0000 (10:37 -0200)
qutebrowser

index c97f340731c4f5923f62cd0ff8aaeb64f8ac77e8..bb7ac5861b1204d97af1ad6e3826a4f4970407f6 100755 (executable)
@@ -3,7 +3,7 @@
 # Wrapper for qutebrowser
 #
 
-if [ -x "$HOME/apps/qutebrowser/dist/.venv/bin/python3" ]; then
+if [ "$1" != "update" ] && [ -x "$HOME/apps/qutebrowser/dist/.venv/bin/python3" ]; then
   # See http://qutebrowser.org/doc/install.html#tox
   #export LD_LIBRARY_PATH=/usr/lib/openssl-1.0
   $HOME/apps/qutebrowser/dist/.venv/bin/python3 -m qutebrowser "$@"
@@ -20,7 +20,10 @@ else
   fi
 
   # Build qutebrowser
-  cd dist &> /dev/null && tox -e mkvenv-pypi
+  cd dist &> /dev/null && tox -r -e mkvenv-pypi
+
+  #sudo apt install --no-install-recommends asciidoc source-highlight
+  #python3 scripts/asciidoc2html.py
 
   # Run this script again
   $0