diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-11-14 15:18:30 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-11-14 15:18:30 +0000 |
commit | b67b7d701bd914153095b0ba121918d94ad9805b (patch) | |
tree | 1ac18220ba3ec6cd5c72e8cef93138b5d858e390 /gurpmi2 | |
parent | 53ec6b3a03eee6945c48acb405c3af9061b9af84 (diff) | |
download | urpmi-b67b7d701bd914153095b0ba121918d94ad9805b.tar urpmi-b67b7d701bd914153095b0ba121918d94ad9805b.tar.gz urpmi-b67b7d701bd914153095b0ba121918d94ad9805b.tar.bz2 urpmi-b67b7d701bd914153095b0ba121918d94ad9805b.tar.xz urpmi-b67b7d701bd914153095b0ba121918d94ad9805b.zip |
Allow to put rpm names on the gurpmi command-line
Diffstat (limited to 'gurpmi2')
-rwxr-xr-x | gurpmi2 | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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, |