summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-08 16:27:24 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-08 16:27:24 +0000
commit2a6d5cf8e0a163872f3277b0cb2e75ae786e0c48 (patch)
tree1553f024f59890f10a35e22c13a1833903d5e9e1 /perl-install
parent8fa00004a1a7c72d50dac365993f02620f71cf38 (diff)
downloaddrakx-backup-do-not-use-2a6d5cf8e0a163872f3277b0cb2e75ae786e0c48.tar
drakx-backup-do-not-use-2a6d5cf8e0a163872f3277b0cb2e75ae786e0c48.tar.gz
drakx-backup-do-not-use-2a6d5cf8e0a163872f3277b0cb2e75ae786e0c48.tar.bz2
drakx-backup-do-not-use-2a6d5cf8e0a163872f3277b0cb2e75ae786e0c48.tar.xz
drakx-backup-do-not-use-2a6d5cf8e0a163872f3277b0cb2e75ae786e0c48.zip
(tvout): rough default value for PAL vs NTSC
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/Xconfig/various.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/Xconfig/various.pm b/perl-install/Xconfig/various.pm
index 45b2c256e..9b9a43804 100644
--- a/perl-install/Xconfig/various.pm
+++ b/perl-install/Xconfig/various.pm
@@ -76,8 +76,12 @@ For this you have to plug your graphic card to your TV before booting your compu
Then choose the \"TVout\" entry in the bootloader
Do you have this feature?")) or return;
+
+ #- rough default value (rationale: http://download.nvidia.com/XFree86_40/1.0-2960/README.txt)
+ require timezone;
+ my $norm = timezone::read()->{timezone} =~ /America/ ? 'NTSC' : 'PAL';
- my $norm = $in->ask_from_list('', _("What norm is your TV using?"), [ 'NTSC', 'PAL' ]) or return;
+ $norm = $in->ask_from_list('', _("What norm is your TV using?"), [ 'NTSC', 'PAL' ], $norm) or return;
configure_FB_TVOUT({ norm => $norm });
}