From: Vladimir Sokolovsky Date: Sun, 25 Nov 2007 14:53:38 +0000 (+0200) Subject: install.pl: force 32bit libraries installation on the SLES10 SP1 U1. X-Git-Tag: vofed-1.3-rc1~3 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=4b7d25a336eed8e3684199e6f414a45204b5fb7e;p=~emulex%2Fofed_scripts%2F.git install.pl: force 32bit libraries installation on the SLES10 SP1 U1. Signed-off-by: Vladimir Sokolovsky --- diff --git a/install.pl b/install.pl index eabab54..3972d24 100755 --- a/install.pl +++ b/install.pl @@ -1444,10 +1444,10 @@ sub get_rpm_info sub supported32bit { # Disable 32bit libraries on SLES10 SP1 U1 - if ($distro eq "SuSE" and $dist_rpm_rel gt 15.2) { - print RED "\n32-bit libraries are not supported on this platform", RESET "\n" if (not $quiet); - return 0; - } +### if ($distro eq "SuSE" and $dist_rpm_rel gt 15.2) { +### print RED "\n32-bit libraries are not supported on this platform", RESET "\n" if (not $quiet); +### return 0; +### } return 1 } @@ -3065,6 +3065,9 @@ sub install_rpm # exit 1; } $cmd = "rpm -iv"; + if ($distro eq "SuSE" and $dist_rpm_rel gt 15.2) { + $cmd .= " --force"; + } $cmd .= " $package"; print "Running $cmd\n" if ($verbose);