summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorStew Benedict <stewb@mandriva.org>2001-03-08 16:01:05 +0000
committerStew Benedict <stewb@mandriva.org>2001-03-08 16:01:05 +0000
commit2c754c3e19a8c25f797c817969bf62ff99464230 (patch)
treeebacd9c64b235e3ebb51327855ea7c8d98d7b0de /perl-install
parentbefb7d666a523e0f2b1d41358e8d1de6f7a2024c (diff)
downloaddrakx-2c754c3e19a8c25f797c817969bf62ff99464230.tar
drakx-2c754c3e19a8c25f797c817969bf62ff99464230.tar.gz
drakx-2c754c3e19a8c25f797c817969bf62ff99464230.tar.bz2
drakx-2c754c3e19a8c25f797c817969bf62ff99464230.tar.xz
drakx-2c754c3e19a8c25f797c817969bf62ff99464230.zip
encourage Xpmac to run in at least 16bpp
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps_gtk.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm
index 9bdecce34..4687283a7 100644
--- a/perl-install/install_steps_gtk.pm
+++ b/perl-install/install_steps_gtk.pm
@@ -50,6 +50,7 @@ sub new($$) {
local $SIG{CHLD} = sub { $ok = 0 if waitpid(-1, c::WNOHANG()) > 0 };
unless (fork) {
exec $_[0], (arch() =~ /^sparc/ || arch() eq "ppc" ? () : ("-kb")), "-dpms","-s" ,"240",
+ ($_[0] =~ /Xpmac/ ? ("-mode", "17", "-depth", "32") : ()),
($_[0] =~ /Xsun/ || $_[0] =~ /Xpmac/ ? ("-fp", "/usr/X11R6/lib/X11/fonts:unscaled") :
("-allowMouseOpenFail", "-xf86config", $f)) or exit 1;
}