From 348da45288f83fa68475647f1c801c57eb614de6 Mon Sep 17 00:00:00 2001 From: Vladimir Sokolovsky Date: Mon, 3 Nov 2008 10:42:50 +0200 Subject: [PATCH] Make sure all ofed RPMs coming from distroes are uninstalled. There are some ofed RPMs coming from Linux distributions with different names, including "ofed" in it. All these RPMs will be removed by OFED's install script. Signed-off-by: Vladimir Sokolovsky --- install.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.pl b/install.pl index 6550ecc..b076c0d 100755 --- a/install.pl +++ b/install.pl @@ -3868,8 +3868,9 @@ sub uninstall } } + my @other_ofed_rpms = `rpm -qa 2> /dev/null | grep ofed`; my $cmd = "rpm -e --allmatches"; - for my $package (@all_packages, @hidden_packages, @prev_ofed_packages) { + for my $package (@all_packages, @hidden_packages, @prev_ofed_packages, @other_ofed_rpms) { next if ($package eq "mpi-selector"); if (is_installed($package)) { $cmd .= " $package"; -- 2.41.0