summaryrefslogtreecommitdiffstats
path: root/urpmq
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-02-23 18:44:27 +0000
committerFrancois Pons <fpons@mandriva.com>2001-02-23 18:44:27 +0000
commit7597faa6b5a3e07aaddcd993a9556a2f361109da (patch)
treea40d4c0189915f9249f9f3bdf426d2d5190a5f5c /urpmq
parentdd4a50b5b51dd974eeea86a3197e7126c2f7681e (diff)
downloadurpmi-7597faa6b5a3e07aaddcd993a9556a2f361109da.tar
urpmi-7597faa6b5a3e07aaddcd993a9556a2f361109da.tar.gz
urpmi-7597faa6b5a3e07aaddcd993a9556a2f361109da.tar.bz2
urpmi-7597faa6b5a3e07aaddcd993a9556a2f361109da.tar.xz
urpmi-7597faa6b5a3e07aaddcd993a9556a2f361109da.zip
*** empty log message ***
Diffstat (limited to 'urpmq')
-rwxr-xr-xurpmq8
1 files changed, 4 insertions, 4 deletions
diff --git a/urpmq b/urpmq
index b4cb65ed..5abf2685 100755
--- a/urpmq
+++ b/urpmq
@@ -112,6 +112,10 @@ $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);
@@ -126,10 +130,6 @@ if ($query->{auto_select}) {
#- get out of package that should not be upgraded.
$urpm->deselect_unwanted_packages(\%packages);
-#- 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});
-
if ($query->{headers}) {
$urpm->read_config();