From ed809983316a7b8f9c6c1d59cdb93021aed4beb8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 23 Mar 2007 06:07:23 +0000 Subject: (perform_installation) reindent & adjust comment --- Rpmdrake/pkg.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 334a7ccd..d1833ef7 100755 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -477,8 +477,9 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-( my $rpm_lock = urpm::lock::rpm_db($urpm, 'exclusive'); my $state = $probe_only_for_updates ? { } : $urpm->{rpmdrake_state}; - # select packages to install for !update mode: - $urpm->resolve_requested(open_db(), $state, { map { $_->id => undef } grep { $_->flag_selected } @{$urpm->{depslist}} }, callback_choices => \&Rpmdrake::gui::callback_choices); + # select packages to install: + $urpm->resolve_requested(open_db(), $state, { map { $_->id => undef } grep { $_->flag_selected } @{$urpm->{depslist}} }, + callback_choices => \&Rpmdrake::gui::callback_choices); my ($local_sources, $list) = urpm::get_pkgs::selected2list($urpm, $state->{selected}, -- cgit v1.2.1