summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-04-27 08:06:09 +0000
committerFrancois Pons <fpons@mandriva.com>2000-04-27 08:06:09 +0000
commitf541d085f98e29d609bc3fb0f1c14ce0c4e6714c (patch)
tree3b15dcddaa968fce55173c23d5e8a4f20377d798 /perl-install
parentdf74d2948d19ae9dcb546f9b898bab5d824cc22e (diff)
downloaddrakx-f541d085f98e29d609bc3fb0f1c14ce0c4e6714c.tar
drakx-f541d085f98e29d609bc3fb0f1c14ce0c4e6714c.tar.gz
drakx-f541d085f98e29d609bc3fb0f1c14ce0c4e6714c.tar.bz2
drakx-f541d085f98e29d609bc3fb0f1c14ce0c4e6714c.tar.xz
drakx-f541d085f98e29d609bc3fb0f1c14ce0c4e6714c.zip
*** empty log message ***
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/Xconfigurator_consts.pm12
1 files changed, 10 insertions, 2 deletions
diff --git a/perl-install/Xconfigurator_consts.pm b/perl-install/Xconfigurator_consts.pm
index 1f89faf22..e1005b3b1 100644
--- a/perl-install/Xconfigurator_consts.pm
+++ b/perl-install/Xconfigurator_consts.pm
@@ -13,7 +13,15 @@ use common qw(:common);
@window_managers = qw(icewm wmaker kwm afterstep fvwm fvwm2 fvwm95 mwm twm enlightenment xfce blackbox);
-%serversdriver = (
+%serversdriver = arch() =~ /^sparc/ ? (
+ 'Mach64' => "accel",
+ '3DLabs' => "accel",
+ 'Sun' => "fbdev",
+ 'Sun24' => "fbdev",
+ 'SunMono' => "fbdev",
+ 'VGA16' => "vga16",
+ 'FBDev' => "fbdev",
+) : (
'SVGA' => "svga",
'Rage128' => "svga",
'3dfx' => "svga",
@@ -34,7 +42,7 @@ use common qw(:common);
);
@svgaservers = grep { $serversdriver{$_} eq "svga" } keys(%serversdriver);
@accelservers = grep { $serversdriver{$_} eq "accel" } keys(%serversdriver);
-@allbutfbservers = grep { $serversdriver{$_} ne "fbdev" } keys(%serversdriver);
+@allbutfbservers = grep { arch() =~ /^sparc/ || $serversdriver{$_} ne "fbdev" } keys(%serversdriver);
@allservers = keys(%serversdriver);
%vgamodes = (