aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Iurt/Urpmi.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-26 18:21:19 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-26 18:21:19 +0000
commita8b240c8ae9299a9a9f2a8e4599699dd51ce5195 (patch)
treeb5928b614c46d3835ba5e73e07cc0a2e8b04ce1b /lib/Iurt/Urpmi.pm
parent03a7d0f02a1cf7b347027dc93d836f322428bcac (diff)
downloadiurt-a8b240c8ae9299a9a9f2a8e4599699dd51ce5195.tar
iurt-a8b240c8ae9299a9a9f2a8e4599699dd51ce5195.tar.gz
iurt-a8b240c8ae9299a9a9f2a8e4599699dd51ce5195.tar.bz2
iurt-a8b240c8ae9299a9a9f2a8e4599699dd51ce5195.tar.xz
iurt-a8b240c8ae9299a9a9f2a8e4599699dd51ce5195.zip
(install_packages) styling
Diffstat (limited to 'lib/Iurt/Urpmi.pm')
-rw-r--r--lib/Iurt/Urpmi.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm
index d65932e..168f07d 100644
--- a/lib/Iurt/Urpmi.pm
+++ b/lib/Iurt/Urpmi.pm
@@ -549,8 +549,7 @@ sub install_packages {
if ($ok && (!@rpm || are_installed($chroot_tmp, @rpm))) {
plog("installation successful");
$ok = 1;
- }
- else {
+ } else {
plog(1, "ERROR: Failed to install initial packages");
$ok = 0;
}