diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-07-20 21:44:19 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-07-20 21:44:19 +0000 |
commit | 8ff4715da6d0e9fb1929b1fe6e11258b1573d4d0 (patch) | |
tree | 585478715d3581c40eaa2049acab785da449f122 /perl-install/Xconfig.pm | |
parent | ba79d9c8b00ce6a0a42a5f56b6e68967efe47f37 (diff) | |
download | drakx-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/Xconfig.pm')
-rw-r--r-- | perl-install/Xconfig.pm | 3 |
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); |