summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/proprietary.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-04-25 10:04:32 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-04-25 10:04:32 +0000
commitcac479f0e27b8d9cc8a403b494d7ef53e34f9d14 (patch)
treef52ffa06b7d930a5585aebe7710bc177027c9f82 /perl-install/Xconfig/proprietary.pm
parent13b5bd878d5d94bae0073e6b4d3ec808e6ae3a6f (diff)
downloaddrakx-cac479f0e27b8d9cc8a403b494d7ef53e34f9d14.tar
drakx-cac479f0e27b8d9cc8a403b494d7ef53e34f9d14.tar.gz
drakx-cac479f0e27b8d9cc8a403b494d7ef53e34f9d14.tar.bz2
drakx-cac479f0e27b8d9cc8a403b494d7ef53e34f9d14.tar.xz
drakx-cac479f0e27b8d9cc8a403b494d7ef53e34f9d14.zip
re-sync after the big svn loss
Diffstat (limited to 'perl-install/Xconfig/proprietary.pm')
-rw-r--r--perl-install/Xconfig/proprietary.pm35
1 files changed, 0 insertions, 35 deletions
diff --git a/perl-install/Xconfig/proprietary.pm b/perl-install/Xconfig/proprietary.pm
deleted file mode 100644
index ed196deb7..000000000
--- a/perl-install/Xconfig/proprietary.pm
+++ /dev/null
@@ -1,35 +0,0 @@
-package Xconfig::proprietary; # $Id$
-
-use diagnostics;
-use strict;
-
-use common;
-
-
-sub install_matrox_hal {
- my ($prefix) = @_;
- my $tmpdir = "$prefix/root/tmp";
-
- my $tar = "mgadrivers-2.0.tgz";
- my $dir_in_tar = "mgadrivers";
- my $dest_dir = "$prefix/usr/X11R6/lib/modules/drivers";
-
- #- already installed
- return if -e "$dest_dir/mga_hal_drv.o" || $::testing;
-
- system("wget -O $tmpdir/$tar ftp://ftp.matrox.com/pub/mga/archive/linux/2002/$tar") if !-e "$tmpdir/$tar";
- system("tar xzC $tmpdir -f $tmpdir/$tar");
-
- my $src_dir = "$tmpdir/$dir_in_tar/xfree86/4.2.1/drivers";
- foreach (all($src_dir)) {
- my $src = "$src_dir/$_";
- my $dest = "$dest_dir/$_";
- rename $dest, "$dest.non_hal";
- cp_af($src, $dest_dir);
- }
- rm_rf("$tmpdir/$tar");
- rm_rf("$tmpdir/$dir_in_tar");
-}
-
-1;
-