diff options
author | Olivier Blin <oblin@mandriva.org> | 2006-02-23 09:24:20 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2006-02-23 09:24:20 +0000 |
commit | f6297c8c070d3777fa7a350fd3f2b73717fb5836 (patch) | |
tree | ce3543c86e90c9dc48215d9cc12a41bedaff2f56 | |
parent | a958febecff9c77b330173770ffb1a8a71d67b75 (diff) | |
download | drakx-f6297c8c070d3777fa7a350fd3f2b73717fb5836.tar drakx-f6297c8c070d3777fa7a350fd3f2b73717fb5836.tar.gz drakx-f6297c8c070d3777fa7a350fd3f2b73717fb5836.tar.bz2 drakx-f6297c8c070d3777fa7a350fd3f2b73717fb5836.tar.xz drakx-f6297c8c070d3777fa7a350fd3f2b73717fb5836.zip |
rename config hash as it will contain more settings
-rwxr-xr-x | perl-install/standalone/finish-install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/standalone/finish-install b/perl-install/standalone/finish-install index 85ab006ee..02f0b5310 100755 --- a/perl-install/standalone/finish-install +++ b/perl-install/standalone/finish-install @@ -12,7 +12,7 @@ use security::level; $ENV{SHARE_PATH} ||= "/usr/share"; my $conf_file = '/etc/sysconfig/finish-install'; -my %steps = getVarsFromSh($conf_file); +my %conf = getVarsFromSh($conf_file); my $authentication = authentication::get(); my $security = security::level::get(); my $net = {}; @@ -81,7 +81,7 @@ sub ask_users() { sub call { my ($step_name) = @_; my $f_name = 'ask_' . $step_name; - if (member('no', map { lc($steps{$_}) } lc($step_name), uc($step_name))) { + if (member('no', map { lc($conf{$_}) } lc($step_name), uc($step_name))) { log::l("ignoring $f_name"); } else { log::l("calling $f_name"); |