20 lines
404 B
Bash
Executable File
20 lines
404 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Version with user's venv
|
|
if [ -f ~/src/qutebrowser-venv/bin/python3 ]; then
|
|
~/src/qutebrowser-venv/bin/python3 -m qutebrowser
|
|
exit 0
|
|
fi
|
|
|
|
# Version from APT package
|
|
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
|