satellite/install/install.pl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1d1b258891555c8c2c52b96227e83bec835acec9
Author: Jan Pazdziora <jpazdziora(a)redhat.com>
Date: Thu Oct 7 17:21:47 2010 +0200
Ignore extra packages if they are gpg-pubkey.
diff --git a/satellite/install/install.pl b/satellite/install/install.pl
index 238181b..c948229 100755
--- a/satellite/install/install.pl
+++ b/satellite/install/install.pl
@@ -109,7 +109,7 @@ my %current_rpm_qa =
map { ( $_ => 1 ) }
grep { not exists $rpm_qa{$_} and not exists $satellite_rpms{$_} }
map { chomp ; $_; } `rpm -qa --qf '%{name}\n'`;
-my @extra_rpms = grep { not exists $needed_rpms->{$_} } sort keys %current_rpm_qa;
+my @extra_rpms = grep { $_ ne 'gpg-pubkey' } grep { not exists
$needed_rpms->{$_} } sort keys %current_rpm_qa;
if (@extra_rpms) {
print loc("Warning: more packages were installed by yum than
expected:\n");
print map "\t$_\n", @extra_rpms;
Show replies by date