summaryrefslogtreecommitdiffstats
path: root/move
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-11-20 23:01:30 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-11-20 23:01:30 +0000
commit88c351a0e7e4d0b3474774e6dbb69ee2a0481a9c (patch)
tree35a94b3c9a94b8544d769bb6fedc742c31f28d52 /move
parent3f7cd9bb7c6a264d11a678a7a245e913dff82e22 (diff)
downloaddrakx-88c351a0e7e4d0b3474774e6dbb69ee2a0481a9c.tar
drakx-88c351a0e7e4d0b3474774e6dbb69ee2a0481a9c.tar.gz
drakx-88c351a0e7e4d0b3474774e6dbb69ee2a0481a9c.tar.bz2
drakx-88c351a0e7e4d0b3474774e6dbb69ee2a0481a9c.tar.xz
drakx-88c351a0e7e4d0b3474774e6dbb69ee2a0481a9c.zip
kill duplicated code
Diffstat (limited to 'move')
-rw-r--r--move/move.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/move/move.pm b/move/move.pm
index fc0c24339..80741429f 100644
--- a/move/move.pm
+++ b/move/move.pm
@@ -141,11 +141,7 @@ sub init {
}
drakx_stuff:
- $o->{steps}{autoSelectLanguage} = { reachable => 1, text => "Automatic Language Selection" };
- $o->{steps}{handleI18NClp} = { reachable => 1, text => "Handle I18N CLP" };
- $o->{steps}{verifyKey} = { reachable => 1, text => "Verify Key" };
- $o->{steps}{configMove} = { reachable => 1, text => "Configure Move" };
- $o->{steps}{startMove} = { reachable => 1, text => "Start Move" };
+ $o->{steps}{$_} = { reachable => 1, text => $_ } foreach qw(autoSelectLanguage handleI18NClp verifyKey configMove startMove);
$o->{orderedSteps_orig} = $o->{orderedSteps};
$o->{orderedSteps} = [ $using_existing_host_config ?
qw(handleI18NClp verifyKey startMove)