From 97d2882569a1be734e519d6a7f245ebf9bd35528 Mon Sep 17 00:00:00 2001 From: Vladimir Sokolovsky Date: Tue, 15 Jun 2010 16:58:05 +0300 Subject: [PATCH] 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 --- install.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.46.0