Quote:
Originally Posted by alosii
Thanks for responding so fast GazL,
After adding the "" around version i get:
Code:
line 435: [: : integer expression expected
By looking at the surrounding lines it seams that the installer wants a red hat version number...
Code:
if [ -r /etc/redhat-release ]
then
release=`cat /etc/redhat-release | awk '{print $7}'`
version=${release%%\.*}
if [ $version -ge 5 ]
then
|
Adding the quotes would have fixed the syntax error, but it still leaves you with a logic error in the code because the comparison will be against a null value.
From looking at that snippet of code you listed, it looks like its looking for a file /etc/redhat-release that contains a version number like '5.0'. Is there a /etc/fedora-release file? If so copy it to
/etc/redhat-release, or create a /etc/redhat-release yourself and stick '5.0' in it.
The install could have other issues though as you're not installing on a true redhat system, so expect further issues, but you may get lucky.
Quote:
Originally Posted by alosii
Thanks for responding so fast GazL,
Im starting NOT to like websphere...
|
You're welcome, and I know *exactly* how you feel on that one!
Best of luck with it.
Edited - didn't spot the -r test on /etc/redhat-release first time.