summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-02-10 11:58:09 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-02-10 11:58:09 +0000
commit230c75dfce6576f56448b761a5ee84e7e7b1956e (patch)
treefa04e757bd405b1d89c7a68e8ed79f81bf024e36 /perl-install/install_steps.pm
parent8031ef158730d1389fe00e6926c7d01b29b9acf4 (diff)
downloaddrakx-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_steps.pm')
-rw-r--r--perl-install/install_steps.pm14
1 files changed, 12 insertions, 2 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index a3fb7f72f..26c55950e 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -497,9 +497,17 @@ sub installCrypto {
$o->pkg_install(@{$u->{packages}});
}
+sub summary {
+ my ($o) = @_;
+ configureTimezone($o);
+ configurePrinter($o);
+}
+
#------------------------------------------------------------------------------
sub configureTimezone {
my ($o) = @_;
+ install_any::preConfigureTimezone($o);
+
require timezone;
timezone::write($o->{prefix}, $o->{timezone});
}
@@ -507,8 +515,10 @@ sub configureTimezone {
#------------------------------------------------------------------------------
sub configureServices {
my ($o) = @_;
- require services;
- services::doit($o, $o->{services}, $o->{prefix}) if $o->{services};
+ if ($o->{services}) {
+ require services;
+ services::doit($o, $o->{services}, $o->{prefix});
+ }
}
#------------------------------------------------------------------------------
sub configurePrinter {