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 | |
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
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | urpm/select.pm | 6 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,6 @@ +- add infrastructure so that gurpmi & rpmdrake can handle priority + upgrade list + Version 5.7 - 3 March 2008, by Pascal "Pixel" Rigaux - all tools: 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) = @_; |