Added /usr/libexec/platform-python for python discovery
This commit is contained in:
parent
76065290c5
commit
092b3a1103
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
'''':
|
'''':
|
||||||
for pyint in python3 python python2; do
|
for pyint in /usr/libexec/platform-python python3 python python2; do
|
||||||
command -v $pyint >/dev/null 2>&1 && exec $pyint "$0" "$@"
|
command -v $pyint >/dev/null 2>&1 && exec $pyint "$0" "$@"
|
||||||
done
|
done
|
||||||
echo "$0: No python could be found" >&2
|
echo "$0: No python could be found" >&2
|
||||||
|
|
Loading…
Reference in a new issue