summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq8
1 files changed, 4 insertions, 4 deletions
diff --git a/urpmq b/urpmq
index 5abf2685..427b309e 100755
--- a/urpmq
+++ b/urpmq
@@ -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);