diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-02-10 11:58:09 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-02-10 11:58:09 +0000 |
commit | 230c75dfce6576f56448b761a5ee84e7e7b1956e (patch) | |
tree | fa04e757bd405b1d89c7a68e8ed79f81bf024e36 /perl-install/install_any.pm | |
parent | 8031ef158730d1389fe00e6926c7d01b29b9acf4 (diff) | |
download | drakx-230c75dfce6576f56448b761a5ee84e7e7b1956e.tar drakx-230c75dfce6576f56448b761a5ee84e7e7b1956e.tar.gz drakx-230c75dfce6576f56448b761a5ee84e7e7b1956e.tar.bz2 drakx-230c75dfce6576f56448b761a5ee84e7e7b1956e.tar.xz drakx-230c75dfce6576f56448b761a5ee84e7e7b1956e.zip |
add step summary. remove steps configureTimezone and configurePrinter
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r-- | perl-install/install_any.pm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 1094d82a1..4f9d02047 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -276,6 +276,17 @@ sub getAvailableSpace_raw { die "missing root partition"; } +sub preConfigureTimezone { + my ($o) = @_; + require timezone; + + #- can't be done in install cuz' timeconfig %post creates funny things + add2hash($o->{timezone}, { timezone::read() }) if $o->{isUpgrade}; + + $o->{timezone}{timezone} ||= timezone::bestTimezone(lang::lang2text($o->{lang})); + add2hash_($o->{timezone}, { UTC => $::expert && !grep { isFat($_) || isNT($_) } @{$o->{fstab}} }); +} + sub setPackages { my ($o) = @_; |