diff options
author | Olivier Blin <oblin@mandriva.org> | 2006-02-23 09:24:00 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2006-02-23 09:24:00 +0000 |
commit | 8e854d5c2ed9dc6297598f064450beb8cd99da5f (patch) | |
tree | fadf15274e1f4f9ae976b749df3f8f7f60ad0100 /perl-install | |
parent | 2ce1adac4ded2955a259b541ffb20e790c18becf (diff) | |
download | drakx-8e854d5c2ed9dc6297598f064450beb8cd99da5f.tar drakx-8e854d5c2ed9dc6297598f064450beb8cd99da5f.tar.gz drakx-8e854d5c2ed9dc6297598f064450beb8cd99da5f.tar.bz2 drakx-8e854d5c2ed9dc6297598f064450beb8cd99da5f.tar.xz drakx-8e854d5c2ed9dc6297598f064450beb8cd99da5f.zip |
rename config hash as it will contain more settings
Diffstat (limited to 'perl-install')
-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"); |