so it is more consistent with rhel/centos part.
Signed-off-by: Kefu Chai <kchai@redhat.com>
source /etc/os-release
case "$ID" in
fedora)
- PYBUILD="3.7"
- if [ "$VERSION_ID" -eq "32" ] ; then
- PYBUILD="3.8"
- elif [ "$VERSION_ID" -ge "33" ] ; then
- PYBUILD="3.9"
+ if [ "$VERSION_ID" -ge "33" ] ; then
+ PYBUILD="3.9"
+ elif [ "$VERSION_ID" -ge "32" ] ; then
+ PYBUILD="3.8"
+ else
+ PYBUILD="3.7"
fi
;;
rhel|centos)