Changeset 7a82194


Ignore:
Timestamp:
02/15/2019 02:11:36 PM (5 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs-more, legacy, trunk
Children:
399058f
Parents:
cd02aa5
Message:

Add version check for Python

File:
1 edited

Legend:

Unmodified
Added
Removed
  • common/libs/func_check_version.sh

    rcd02aa5 r7a82194  
    164164    check_version "$MIN_Xz_VER"        "$(xz --version | head -n1 | cut -d" " -f4)"         "XZ"
    165165  fi
     166  if [ -n "$MIN_Python_VER" ]; then
     167    check_version "$MIN_Python_VER"    "3.$(python3 -c"import sys; print(sys.version_info.minor,'.',sys.version_info.micro,sep='')")" "Python"
     168  fi
    166169}
    167170
Note: See TracChangeset for help on using the changeset viewer.