Files
binary-repo/dev/lang/python/python.sysconf
T
2023-02-07 14:58:36 +00:00

6 lines
145 B
Bash

#!/bin/sh
if [ ! -L /usr/bin/python ] ; then
maxver=$(ls /usr/lib64 | grep "python3.[0-9]*" | sort | tail -n 1)
pydefault ${maxver:6}
fi