diff options
author | Pascal Rigaux <pixel@mandriva.com> | 1999-08-31 20:31:37 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 1999-08-31 20:31:37 +0000 |
commit | 49c296107afd9cf7efb7388830d9c5785b96fd9f (patch) | |
tree | 28aa2af852c8f480128e165c14e4e7d2caa2ac66 /perl-install/install2.pm | |
parent | def4efcd013dab2d39ca559f61df55ff60864157 (diff) | |
download | drakx-49c296107afd9cf7efb7388830d9c5785b96fd9f.tar drakx-49c296107afd9cf7efb7388830d9c5785b96fd9f.tar.gz drakx-49c296107afd9cf7efb7388830d9c5785b96fd9f.tar.bz2 drakx-49c296107afd9cf7efb7388830d9c5785b96fd9f.tar.xz drakx-49c296107afd9cf7efb7388830d9c5785b96fd9f.zip |
no_comment
Diffstat (limited to 'perl-install/install2.pm')
-rw-r--r-- | perl-install/install2.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install2.pm b/perl-install/install2.pm index 78262ff35..9f64b17ee 100644 --- a/perl-install/install2.pm +++ b/perl-install/install2.pm @@ -171,7 +171,7 @@ my @installSteps = ( formatPartitions => [ __("Format partitions"), 1, -1, "partitionDisks" ], choosePackages => [ __("Choose packages to install"), 1, 1, "selectInstallClass" ], doInstallStep => [ __("Install system"), 1, -1, ["formatPartitions", "selectPath"] ], -# configureMouse => [ __("Configure mouse"), 1, 1, "formatPartitions" ], + configureMouse => [ __("Configure mouse"), 1, 1, "formatPartitions" ], configureNetwork => [ __("Configure networking"), 1, 1, "formatPartitions" ], configureTimezone => [ __("Configure timezone"), 1, 1, "doInstallStep" ], # configureServices => [ __("Configure services"), 0, 0 ], @@ -334,7 +334,7 @@ sub configureMouse { $o->mouseConfig } sub configureNetwork { $o->configureNetwork($_[1] == 1 && !$_[0]) } sub configureTimezone { my $f = "$o->{prefix}/etc/sysconfig/clock"; - return if -e $f && $_[1] == 1 && !$_[0]; + return if ((-s $f) || 0) > 0 && $_[1] == 1 && !$_[0]; $o->timeConfig($f); } sub configureServices { $o->servicesConfig } |