2016-06-07 16:31:26 +02:00
|
|
|
#!/bin/sh
|
2019-10-22 10:01:45 +02:00
|
|
|
|
2020-10-22 17:13:59 +02:00
|
|
|
# Version with user's venv
|
|
|
|
if [ -f ~/src/qutebrowser-venv/bin/python3 ]; then
|
|
|
|
~/src/qutebrowser-venv/bin/python3 -m qutebrowser
|
|
|
|
exit 0
|
|
|
|
fi
|
2019-10-22 10:01:45 +02:00
|
|
|
|
|
|
|
# Version from APT package
|
2020-10-22 17:13:59 +02:00
|
|
|
if dpkg -l | grep -q qutebrowser ; then
|
|
|
|
command qutebrowser
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
|
|
|
# Version from Git repository
|
|
|
|
if [ -f ~/repos/qutebrowser/qutebrowser.py ]; then
|
|
|
|
~/repos/qutebrowser/qutebrowser.py --backend webengine "$@"
|
|
|
|
exit0
|
|
|
|
fi
|