Detect correct Python version #2

Merged
svelt merged 3 commits from devel into stable 2024-03-25 15:44:30 +00:00
Showing only changes of commit 092b3a1103 - Show all commits

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