mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-11-11 09:52:13 +03:00
...
This commit is contained in:
parent
0a2768e496
commit
766010c292
@ -23,8 +23,8 @@ detect_python() {
|
||||
fi
|
||||
python_detected="1"
|
||||
python=$(command -v python3)
|
||||
if [ -z "$python" ]; then python=$(command -v python2); fi
|
||||
if [ -z "$python" ]; then python=$(command -v python); fi
|
||||
[ -z "$python" ] && python=$(command -v python2)
|
||||
[ -z "$python" ] && python=$(command -v python)
|
||||
if [ -z "$python" -o ! -x "$python" ]; then python=""; return 1; fi
|
||||
return 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user