diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-04 13:44:11 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-04 13:44:11 +0000 |
commit | 39ea4236f990210b8a15dd65e59841900561cfb9 (patch) | |
tree | 9a8953c2b8c5bc7069bd8395a89a7bb0e8889020 /urpm/select.pm | |
parent | 487f81216dc6165af71e71dd854fd88794840449 (diff) | |
download | urpmi-39ea4236f990210b8a15dd65e59841900561cfb9.tar urpmi-39ea4236f990210b8a15dd65e59841900561cfb9.tar.gz urpmi-39ea4236f990210b8a15dd65e59841900561cfb9.tar.bz2 urpmi-39ea4236f990210b8a15dd65e59841900561cfb9.tar.xz urpmi-39ea4236f990210b8a15dd65e59841900561cfb9.zip |
(add_packages_to_priority_upgrade_list) introduce it so that gurpmi &
rpmdrake can handle priority upgrade list
Diffstat (limited to 'urpm/select.pm')
-rw-r--r-- | urpm/select.pm | 6 |
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) = @_; |