]> git.openfabrics.org - ~vlad/ofed_scripts.git/commitdiff
install.pl: force 32bit libraries installation on the SLES10 SP1 U1.
authorVladimir Sokolovsky <vlad@mellanox.co.il>
Sun, 25 Nov 2007 14:53:38 +0000 (16:53 +0200)
committerVladimir Sokolovsky <vlad@mellanox.co.il>
Sun, 25 Nov 2007 14:53:38 +0000 (16:53 +0200)
Signed-off-by: Vladimir Sokolovsky <vlad@mellanox.co.il>
install.pl

index eabab54713a3012acf1d5cd612ec7367c5a83681..3972d24b4bba0927943534c8f44e16fa36ff92e1 100755 (executable)
@@ -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);