diff options
author | Francois Pons <fpons@mandriva.com> | 2001-02-26 16:52:15 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-02-26 16:52:15 +0000 |
commit | f9a03ce22e92bc887046f4ed1e833d3764c9b2f0 (patch) | |
tree | 6d33de7c8bcb6aa98f675531bb4ee9cbcfce8e15 /urpmq | |
parent | dc96e9de1be839cf6df1fb67df55a4676cf78adf (diff) | |
download | urpmi-f9a03ce22e92bc887046f4ed1e833d3764c9b2f0.tar urpmi-f9a03ce22e92bc887046f4ed1e833d3764c9b2f0.tar.gz urpmi-f9a03ce22e92bc887046f4ed1e833d3764c9b2f0.tar.bz2 urpmi-f9a03ce22e92bc887046f4ed1e833d3764c9b2f0.tar.xz urpmi-f9a03ce22e92bc887046f4ed1e833d3764c9b2f0.zip |
*** empty log message ***
Diffstat (limited to 'urpmq')
-rwxr-xr-x | urpmq | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -112,10 +112,6 @@ $urpm->{params}->relocate_depslist(); my %packages; $urpm->search_packages(\%packages, [ @names ]) or $query->{force} or exit 1; -#- filter to add in packages selected required packages. -$query->{deps} && !$query->{upgrade} and $urpm->compute_closure(\%packages); -$query->{upgrade} and $urpm->filter_packages_to_upgrade(\%packages, complete => $query->{complete}); - #- auto select package for upgrading the distribution. if ($query->{auto_select}) { my (%to_remove, %keep_files); @@ -127,6 +123,10 @@ if ($query->{auto_select}) { } } +#- filter to add in packages selected required packages. +$query->{deps} && !$query->{upgrade} and $urpm->compute_closure(\%packages); +$query->{upgrade} and $urpm->filter_packages_to_upgrade(\%packages, complete => $query->{complete}); + #- get out of package that should not be upgraded. $urpm->deselect_unwanted_packages(\%packages); |