mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-03 22:25:57 +00:00
...
This commit is contained in:
parent
0a2768e496
commit
766010c292
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue