summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/select.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/select.pm b/urpm/select.pm
index 16e46af6..5f5632a1 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -11,6 +11,7 @@ my $default_list = 'rpm,perl-URPM,perl-MDV-Distribconf,urpmi,meta-task,glibc';
sub add_packages_to_priority_upgrade_list {
my (@packages) = @_;
+ @packages = grep { $default_list !~ /,$_\b/ } @packages;
return if !@packages;
$default_list .= join(',', '', @packages);
}