Ubuntu 14.04 Post EOL Fixes
This commit is contained in:
parent
d402f379fd
commit
57bd0539d8
2 changed files with 8 additions and 4 deletions
|
@ -3418,8 +3418,10 @@ function fixUbuntu14SSL(){
|
|||
fi
|
||||
|
||||
# Update python and pip
|
||||
python218VersionIns=$(python -V 2>&1 | grep -o "Python 2.7.18")
|
||||
if [ -z "$python218VersionIns" ]; then
|
||||
python2MajorVersion=$(python2 -V 2>&1 | awk '{print $2}' | cut -d. -f1)
|
||||
python2MinorVersion=$(python2 -V 2>&1 | awk '{print $2}' | cut -d. -f2)
|
||||
python2ReleaseVersion=$(python2 -V 2>&1 | awk '{print $2}' | cut -d. -f3)
|
||||
if [ "$python2ReleaseVersion" -lt "15" ] && [ "$python2MajorVersion" == "2" ] && [ "$python2MinorVersion" == "7" ]; then
|
||||
origDir=$(pwd)
|
||||
cd "$patchDir"
|
||||
|
||||
|
|
|
@ -3097,8 +3097,10 @@ function fixUbuntu14SSL(){
|
|||
fi
|
||||
|
||||
# Update python and pip
|
||||
python218VersionIns=$(python -V 2>&1 | grep -o "Python 2.7.18")
|
||||
if [ -z "$python218VersionIns" ]; then
|
||||
python2MajorVersion=$(python2 -V 2>&1 | awk '{print $2}' | cut -d. -f1)
|
||||
python2MinorVersion=$(python2 -V 2>&1 | awk '{print $2}' | cut -d. -f2)
|
||||
python2ReleaseVersion=$(python2 -V 2>&1 | awk '{print $2}' | cut -d. -f3)
|
||||
if [ "$python2ReleaseVersion" -lt "15" ] && [ "$python2MajorVersion" == "2" ] && [ "$python2MinorVersion" == "7" ]; then
|
||||
origDir=$(pwd)
|
||||
cd "$patchDir"
|
||||
|
||||
|
|
Loading…
Reference in a new issue