From: Vladimir Sokolovsky Date: Tue, 15 Jun 2010 13:58:05 +0000 (+0300) Subject: install.pl: Use '--force' flag for all SLES versions X-Git-Tag: vofed-1.5.2-rc2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=97d2882569a1be734e519d6a7f245ebf9bd35528;p=~vlad%2Fofed_scripts.git install.pl: Use '--force' flag for all SLES versions Installation of 32bit RPMs on 64bit SLES OS fails on conflict. The reason is the same RPM name for 32 and 64-bit RPMs. As a workaround '--force' flag used with 'rpm -i' command. Signed-off-by: Vladimir Sokolovsky --- diff --git a/install.pl b/install.pl index 89ca93c..54f3b0f 100755 --- a/install.pl +++ b/install.pl @@ -3481,7 +3481,7 @@ sub install_rpm_32 } $cmd = "rpm -iv $rpminstall_flags"; - if ($distro eq "SuSE" and $dist_rpm_rel gt 15.2) { + if ($distro eq "SuSE") { $cmd .= " --force"; } $cmd .= " $package";