Manage differents location for qutebrowser bin
This commit is contained in:
parent
e92a49aca3
commit
4b51ddb627
18
qutebrowser
18
qutebrowser
|
@ -1,7 +1,19 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Version from Git repository
|
||||
~/repos/qutebrowser/qutebrowser.py --backend webengine "$@"
|
||||
# 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
|
||||
#command qutebrowser
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue