summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-20 21:44:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-20 21:44:19 +0000
commit8ff4715da6d0e9fb1929b1fe6e11258b1573d4d0 (patch)
tree585478715d3581c40eaa2049acab785da449f122 /perl-install
parentba79d9c8b00ce6a0a42a5f56b6e68967efe47f37 (diff)
downloaddrakx-backup-do-not-use-8ff4715da6d0e9fb1929b1fe6e11258b1573d4d0.tar
drakx-backup-do-not-use-8ff4715da6d0e9fb1929b1fe6e11258b1573d4d0.tar.gz
drakx-backup-do-not-use-8ff4715da6d0e9fb1929b1fe6e11258b1573d4d0.tar.bz2
drakx-backup-do-not-use-8ff4715da6d0e9fb1929b1fe6e11258b1573d4d0.tar.xz
drakx-backup-do-not-use-8ff4715da6d0e9fb1929b1fe6e11258b1573d4d0.zip
(getinfoFromXF86Config): move here setting prefer_xf3 based on current choice on system
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/Xconfig.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/Xconfig.pm b/perl-install/Xconfig.pm
index 5cc32d47f..d34edff2e 100644
--- a/perl-install/Xconfig.pm
+++ b/perl-install/Xconfig.pm
@@ -64,6 +64,9 @@ sub getinfoFromXF86Config {
my ($X, $prefix) = @_; #- original $::o->{X} which must be changed only if sure!
$X ||= {};
+ #- don't keep the preference on upgrades??
+ $card->{prefer_xf3} = readlink("$::prefix/etc/X11/X") =~ /XF86_/ if $::isStandalone;
+
my (%keyboard, %mouse, %wacom, %card, %monitor);
my (%c, $depth);