summaryrefslogtreecommitdiffstats
path: root/urpm/select.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/select.pm')
-rw-r--r--urpm/select.pm3
1 files changed, 2 insertions, 1 deletions
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);