summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-12-21 10:37:20 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-12-21 10:37:20 -0200
commitcdd83dfbbd0fee62d4961f9efba5745a8e0b5f89 (patch)
tree38bc692e7bf90e9dcc8c63767dc7a945d4c19036
parentb972eee588255ef55aa032afbea22e96e6ff8105 (diff)
downloadqutebrowser-cdd83dfbbd0fee62d4961f9efba5745a8e0b5f89.tar.gz
qutebrowser-cdd83dfbbd0fee62d4961f9efba5745a8e0b5f89.tar.bz2
Update support
-rwxr-xr-xqutebrowser7
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