summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm')
-rw-r--r--urpm/select.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/urpm/select.pm b/urpm/select.pm
index 320fb445..291180af 100644
--- a/urpm/select.pm
+++ b/urpm/select.pm
@@ -9,6 +9,12 @@ use URPM;
my $default_list = 'rpm,perl-URPM,perl-MDV-Distribconf,urpmi,meta-task,glibc';
+sub add_packages_to_priority_upgrade_list {
+ my (@packages) = @_;
+ return if !@packages;
+ $default_list .= join(',', '', @packages);
+}
+
sub set_priority_upgrade_option {
my ($urpm, $previous) = @_;