Ubuntu 14.04 Post EOL Fixes

This commit is contained in:
earnolmartin 2022-02-28 12:05:38 -07:00
parent 9aa60afe70
commit 5596025da2
2 changed files with 2 additions and 2 deletions

View file

@ -3423,7 +3423,7 @@ function fixUbuntu14SSL(){
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" ] && [ -e "${patchDir}/openssl-1.1.1b" ]; then
if [ "$python2ReleaseVersion" -lt "15" ] && [ "$python2MajorVersion" == "2" ] && [ "$python2MinorVersion" == "7" ] && [ -e "${patchDir}/openssl-1.1.1b" ] && [ -e "/etc/ld.so.conf.d/openssl-1.1.1b.conf" ]; then
origDir=$(pwd)
cd "$patchDir"

View file

@ -3102,7 +3102,7 @@ function fixUbuntu14SSL(){
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" ] && [ -e "${patchDir}/openssl-1.1.1b" ]; then
if [ "$python2ReleaseVersion" -lt "15" ] && [ "$python2MajorVersion" == "2" ] && [ "$python2MinorVersion" == "7" ] && [ -e "${patchDir}/openssl-1.1.1b" ] && [ -e "/etc/ld.so.conf.d/openssl-1.1.1b.conf" ]; then
origDir=$(pwd)
cd "$patchDir"