From b9626dc4aaf5dfce1b8cf01dee5facb4b5791df8 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 18 Oct 2012 20:50:46 +0000 Subject: style: '}' just before 'else/elsif' --- pxe_wizard/Pxe.pm | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'pxe_wizard') diff --git a/pxe_wizard/Pxe.pm b/pxe_wizard/Pxe.pm index fb12ac5d..04c85572 100644 --- a/pxe_wizard/Pxe.pm +++ b/pxe_wizard/Pxe.pm @@ -114,11 +114,17 @@ $o->{pages} = { }, post => sub { if (! -f "$X86/drakwizard_pxe") { return 'pxeserver' } - if ($o->{var}{wiz_level} == 1) { return 'pxeserver' } - elsif ($o->{var}{wiz_level} == 4) { return 'addimgrdz' } + if ($o->{var}{wiz_level} == 1) { + return 'pxeserver'; + } elsif ($o->{var}{wiz_level} == 4) { + return 'addimgrdz'; + } @list_menu or return 'needimg'; - if ($o->{var}{wiz_level} == 2) { return 'removeimg' } - elsif ($o->{var}{wiz_level} == 3) { return 'modifyimg' } + if ($o->{var}{wiz_level} == 2) { + return 'removeimg'; + } elsif ($o->{var}{wiz_level} == 3) { + return 'modifyimg'; + } }, data => [ { label => N("What do you want to do:"), val => \$o->{var}{wiz_level}, list => [ keys %level ], format => sub { $level{$_[0]} } }, -- cgit v1.2.1