diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-12-21 10:37:20 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-12-21 10:37:20 -0200 |
commit | cdd83dfbbd0fee62d4961f9efba5745a8e0b5f89 (patch) | |
tree | 38bc692e7bf90e9dcc8c63767dc7a945d4c19036 | |
parent | b972eee588255ef55aa032afbea22e96e6ff8105 (diff) | |
download | qutebrowser-cdd83dfbbd0fee62d4961f9efba5745a8e0b5f89.tar.gz qutebrowser-cdd83dfbbd0fee62d4961f9efba5745a8e0b5f89.tar.bz2 |
Update support
-rwxr-xr-x | qutebrowser | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/qutebrowser b/qutebrowser index c97f340..bb7ac58 100755 --- a/qutebrowser +++ b/qutebrowser @@ -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 |