aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-27 17:18:49 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-27 17:18:49 +0000
commit1f9167357fc2ac2ec04a54e80851cf441d8255c9 (patch)
treee0bdb136b8cd33ee39ff4991e3ce01a454332723
parent5d61e9a8a6613954e36bc49e548e0c83f445f11f (diff)
downloadrpmdrake-1f9167357fc2ac2ec04a54e80851cf441d8255c9.tar
rpmdrake-1f9167357fc2ac2ec04a54e80851cf441d8255c9.tar.gz
rpmdrake-1f9167357fc2ac2ec04a54e80851cf441d8255c9.tar.bz2
rpmdrake-1f9167357fc2ac2ec04a54e80851cf441d8255c9.tar.xz
rpmdrake-1f9167357fc2ac2ec04a54e80851cf441d8255c9.zip
(perform_installation) simplify
-rw-r--r--Rpmdrake/pkg.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 3b171c4d..ac136116 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -689,9 +689,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
);
statusbar_msg_remove($bar_id);
- my ($local_sources, $blist) = urpm::get_pkgs::selected2local_and_blists($urpm,
- $state->{selected},
- );
+ my ($local_sources, $blist) = urpm::get_pkgs::selected2local_and_blists($urpm, $state->{selected});
if (!$local_sources && (!$blist || !@$blist)) {
interactive_msg(
N("Unable to get source packages."),