Added /usr/libexec/platform-python for python discovery

This commit is contained in:
Sven Velt 2023-12-01 15:34:47 +01:00
parent 76065290c5
commit 092b3a1103

View file

@ -1,6 +1,6 @@
#!/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" "$@"
done
echo "$0: No python could be found" >&2