diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-03-06 16:45:13 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-03-06 16:45:13 +0000 |
commit | 66918337b50ffcb66dd4e0dcae72b9cc59057e09 (patch) | |
tree | 6fccc912f318a3bcef60aba46f8f1b20eaed96c8 | |
parent | e0a75bfd57566dbc18bd9e1d60f112f5c7cbbedb (diff) | |
download | urpmi-66918337b50ffcb66dd4e0dcae72b9cc59057e09.tar urpmi-66918337b50ffcb66dd4e0dcae72b9cc59057e09.tar.gz urpmi-66918337b50ffcb66dd4e0dcae72b9cc59057e09.tar.bz2 urpmi-66918337b50ffcb66dd4e0dcae72b9cc59057e09.tar.xz urpmi-66918337b50ffcb66dd4e0dcae72b9cc59057e09.zip |
(resolve_dependencies) add infrastructure so that rpmdrake doesn't
select all updates by default (#38611)
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | urpm/select.pm | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,6 @@ +- add infrastructure so that rpmdrake doesn't select all updates by + default (#38611) + Version 5.8 - 5 March 2008, by Thierry Vignaud - add infrastructure so that gurpmi & rpmdrake can handle priority diff --git a/urpm/select.pm b/urpm/select.pm index b5292c95..a0757095 100644 --- a/urpm/select.pm +++ b/urpm/select.pm @@ -226,6 +226,7 @@ sub _search_packages { #- rpmdb #- auto_select #- install_src +#- only_request_packages_to_upgrade (rpmdrake doesn't want to actually select them) #- priority_upgrade #- upgrade_callback #- resolve_req_callback @@ -295,7 +296,7 @@ sub resolve_dependencies { } } - if (!$need_restart) { + if (!$need_restart && !$options{only_request_packages_to_upgrade}) { my @requested = $urpm->resolve_requested($db, $state, $requested, %options); $options{resolve_req_callback} and $options{resolve_req_callback}->(@requested); |