summaryrefslogtreecommitdiffstats
path: root/gurpmi2
diff options
context:
space:
mode:
Diffstat (limited to 'gurpmi2')
-rwxr-xr-xgurpmi23
1 files changed, 3 insertions, 0 deletions
diff --git a/gurpmi2 b/gurpmi2
index b10fdfab..bdf36daf 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -64,6 +64,9 @@ $mainw->add($mainbox);
my $urpm = configure_urpm();
my $state = {};
my %requested = $urpm->register_rpms(@all_rpms);
+if (@gurpmi::names) {
+ $urpm->search_packages(\%requested, [ @gurpmi::names ]);
+}
$urpm->resolve_dependencies(
$state,
\%requested,