
# Check for the aforementioned /usr/bin/python3 stub ifĬheck_p圓_stub= " $(compare_to_version "3 " "10.All Clover Configurator does is mount the EFI partition, and give user-friendly way of editing the ist (an OS X properties list file) located in clover. # that can trip up some p圓 detection in other scripts. # Check to see if we need to force based on # Found it - start our script and pass all args Python= " $(get_local_python_version python ) " Python= " $(get_local_python_version python2 ) " # We aren't using p圓 explicitly, and we don't already have a path Python= " $(get_local_python_version python3 ) " Read -p "Would you like to install the latest $target_py now? (y/n): " yn # We already tried to download - just bailĮcho "This script requires $printed_py to run. # Max not set, or less than the current - update itĭone &1 | grep -i python | cut -d ' ' -f2 | grep -E "+ " ) " # Got the py version - compare to our max Python_version= " $(get_python_version $python ) " # /usr/bin/python3 path - but no valid developer dir Py_list= " $(which -a " $py_name " 2>/dev/null ) " Local py_name= " $1 " max_version= python= python_version= python_path= # Echoes the path to the highest version of the passed python bin if any # $1 = Python bin name (defaults to python3) Local ver1= " $(format_version " $1 " ) " ver2= " $(format_version " $2 " ) " Py_vers= " $(echo " $py_html " | grep -i "Latest Python $py_num Release " | awk ' ' ) " Local pyurl= py_html= py_vers= py_num= "3 " # Auto sets the "use_p圓" variable based on # return a 1 if we match the passed compare type, or a 0 if we don't.

# Compares our OS version to the passed OS version, and # and the script name with "py" substituted for the extension. # Get the curent directory, the script name
