summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-11-26 20:36:21 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-11-26 20:36:21 +0000
commit63f9446b69e9de2a963797090002f46145d866d8 (patch)
treed22dbcf55f2f809d031b0fbb43edb3f2a2bc0f42 /perl-install/install_any.pm
parent481c1e409ed37daad82aaf3e9e6344379b87fd27 (diff)
downloaddrakx-63f9446b69e9de2a963797090002f46145d866d8.tar
drakx-63f9446b69e9de2a963797090002f46145d866d8.tar.gz
drakx-63f9446b69e9de2a963797090002f46145d866d8.tar.bz2
drakx-63f9446b69e9de2a963797090002f46145d866d8.tar.xz
drakx-63f9446b69e9de2a963797090002f46145d866d8.zip
no_comment
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 52731da54..02752b381 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -397,9 +397,10 @@ sub g_auto_install(;$) {
exists $::o->{$_} and $o->{$_} = $::o->{$_} foreach qw(lang autoSCSI authentication printer mouse netc timezone superuser intf keyboard mkbootdisk base users installClass partitioning isUpgrade manualFstab nomouseprobe); #- TODO modules bootloader
- my $card = $::o->{X}{card};
- $o->{X}{card}{$_} = $card->{$_} foreach qw(default_depth);
- $o->{X}{card}{resolution_wanted} = join "x", @{$card->{depth}{$card->{default_depth}}[0]};
+ if (my $card = $::o->{X}{card}) {
+ $o->{X}{card}{$_} = $card->{$_} foreach qw(default_depth);
+ $o->{X}{card}{resolution_wanted} = join "x", @{$card->{depth}{$card->{default_depth}}[0]};
+ }
#- local $o->{partitioning}{clearall} = 1;