summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps_gtk.pm
diff options
context:
space:
mode:
authorMatthias Badaire <mbadaire@mandriva.com>2001-07-04 19:22:04 +0000
committerMatthias Badaire <mbadaire@mandriva.com>2001-07-04 19:22:04 +0000
commit869cb4987910917929393a76311f6eb29d7b7306 (patch)
treeb767fe675debb268ed7a67fac71b2adbfc2148a1 /perl-install/install_steps_gtk.pm
parentc9ccb71c94fd6a042bd354f874c685831d0448d3 (diff)
downloaddrakx-869cb4987910917929393a76311f6eb29d7b7306.tar
drakx-869cb4987910917929393a76311f6eb29d7b7306.tar.gz
drakx-869cb4987910917929393a76311f6eb29d7b7306.tar.bz2
drakx-869cb4987910917929393a76311f6eb29d7b7306.tar.xz
drakx-869cb4987910917929393a76311f6eb29d7b7306.zip
Ia64 adaptation
Diffstat (limited to 'perl-install/install_steps_gtk.pm')
-rw-r--r--perl-install/install_steps_gtk.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/install_steps_gtk.pm b/perl-install/install_steps_gtk.pm
index 24c53f906..6ba50d875 100644
--- a/perl-install/install_steps_gtk.pm
+++ b/perl-install/install_steps_gtk.pm
@@ -74,6 +74,8 @@ sub new($$) {
if (/Mach64/) { @servers = qw(Mach64) }
elsif (/Permedia2/) { @servers = qw(3DLabs) }
else { @servers = qw(Xsun24) }
+ } elsif (arch() =~ /ia64/) {
+ @servers= 'XFree86';
} elsif (arch() eq "ppc") {
@servers = qw(Xpmac);
}
@@ -81,7 +83,7 @@ sub new($$) {
foreach (@servers) {
log::l("Trying with server $_");
my $dir = "/usr/X11R6/bin";
- my $prog = /Xsun|Xpmac/ ? $_ : "XF86_$_";
+ my $prog = /Xsun|Xpmac|XFree86/ ? $_ : "XF86_$_";
unless (-x "$dir/$prog") {
unlink $_ foreach glob_("$dir/X*");
install_any::getAndSaveFile("Mandrake/mdkinst$dir/$prog", "$dir/$prog") or die "failed to get server $prog: $!";