summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-08 19:02:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-08 19:02:11 +0000
commit0f90a56a1640ffbbb905c9881e9897602d1cb607 (patch)
treedda45c196f9116809b88ec8bedcae23bf2e72886
parent263c73c0aca9e61eff0f4d357e404bacbb2db4e6 (diff)
downloadurpmi-0f90a56a1640ffbbb905c9881e9897602d1cb607.tar
urpmi-0f90a56a1640ffbbb905c9881e9897602d1cb607.tar.gz
urpmi-0f90a56a1640ffbbb905c9881e9897602d1cb607.tar.bz2
urpmi-0f90a56a1640ffbbb905c9881e9897602d1cb607.tar.xz
urpmi-0f90a56a1640ffbbb905c9881e9897602d1cb607.zip
use urpm::get_pkgs::selected2local_and_blists()
-rwxr-xr-xgurpmi24
1 files changed, 2 insertions, 2 deletions
diff --git a/gurpmi2 b/gurpmi2
index db6991a9..48fe89ca 100755
--- a/gurpmi2
+++ b/gurpmi2
@@ -239,8 +239,8 @@ sub do_install_2 () {
sub do_install_3 () {
wait_label(N("Package installation..."));
- my ($local_sources, $list) = urpm::get_pkgs::selected2list($urpm, $state->{selected});
- $local_sources || $list or $urpm->{fatal}(3, N("unable to get source packages, aborting"));
+ my ($local_sources, $blists) = urpm::get_pkgs::selected2local_and_blists($urpm, $state->{selected});
+ $local_sources || $blists or $urpm->{fatal}(3, N("unable to get source packages, aborting"));
my $vbox = Gtk2::VBox->new(0, 5);
my $progress_label = Gtk2::Label->new('-');
$vbox->pack_start($progress_label, 1, 1, 0);