summaryrefslogtreecommitdiffstats
path: root/pxe_wizard
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-10-18 20:50:46 +0000
committerThierry Vignaud <tv@mageia.org>2012-10-18 20:50:46 +0000
commitb9626dc4aaf5dfce1b8cf01dee5facb4b5791df8 (patch)
tree52e617ab3c7e8667df5af4fa2864c4d0b3ad594a /pxe_wizard
parent9e1b1f92fd64c8a148d523a0bdeb675b596b4d33 (diff)
downloaddrakwizard-b9626dc4aaf5dfce1b8cf01dee5facb4b5791df8.tar
drakwizard-b9626dc4aaf5dfce1b8cf01dee5facb4b5791df8.tar.gz
drakwizard-b9626dc4aaf5dfce1b8cf01dee5facb4b5791df8.tar.bz2
drakwizard-b9626dc4aaf5dfce1b8cf01dee5facb4b5791df8.tar.xz
drakwizard-b9626dc4aaf5dfce1b8cf01dee5facb4b5791df8.zip
style: '}' just before 'else/elsif'
Diffstat (limited to 'pxe_wizard')
-rw-r--r--pxe_wizard/Pxe.pm14
1 files changed, 10 insertions, 4 deletions
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]} } },