summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-12-21 10:50:19 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-12-21 10:50:19 -0200
commit3bd2bb45bb5414d3155483435e0c82c300c3df96 (patch)
tree9d848c0b6e6bad1c8ba0cdbda04a22beeb79106b
parentea92b113ff9e1a8ecd176c801683287f63a1e37f (diff)
downloadqutebrowser-3bd2bb45bb5414d3155483435e0c82c300c3df96.tar.gz
qutebrowser-3bd2bb45bb5414d3155483435e0c82c300c3df96.tar.bz2
Do not run again if on update mode
-rwxr-xr-xqutebrowser4
1 files changed, 3 insertions, 1 deletions
diff --git a/qutebrowser b/qutebrowser
index 983e542..e16aab8 100755
--- a/qutebrowser
+++ b/qutebrowser
@@ -31,5 +31,7 @@ else
python3 scripts/asciidoc2html.py
# Run this script again
- $0
+ if [ "$1" != "update" ]; then
+ $0
+ fi
fi