Skip to content

Commit

Permalink
Fixes suse12 install issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JumpingYang001 authored and sarojcare committed Mar 12, 2019
1 parent bebb59b commit 5a2a017
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions Unix/installbuilder/datafiles/ULinux.data
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@
is_suse11_platform_with_openssl1(){
if [ -e /etc/SuSE-release ];then
VERSION=`cat /etc/SuSE-release|grep "VERSION = 11"|awk 'FS=":"{print $3}'`
which openssl1>/dev/null 2>&1
if [ $? -eq 0 -a $VERSION -eq 11 ];then
return 0
if [ ! -z "$VERSION" ];then
which openssl1>/dev/null 2>&1
if [ $? -eq 0 -a $VERSION -eq 11 ];then
return 0
fi
fi
fi
return 1
Expand Down
8 changes: 5 additions & 3 deletions Unix/scripts/installssllinks
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ ATTEMPT_HMAC_LINK_CREATION=0
is_suse11_platform_with_openssl1(){
if [ -e /etc/SuSE-release ];then
VERSION=`cat /etc/SuSE-release|grep "VERSION = 11"|awk 'FS=":"{print $3}'`
which openssl1>/dev/null 2>&1
if [ $? -eq 0 -a $VERSION -eq 11 ];then
return 0
if [ ! -z "$VERSION" ];then
which openssl1>/dev/null 2>&1
if [ $? -eq 0 -a $VERSION -eq 11 ];then
return 0
fi
fi
fi
return 1
Expand Down

0 comments on commit 5a2a017

Please sign in to comment.