summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-01-31 13:40:35 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-01-31 13:40:35 +0000
commit558badd6e3eb531cbd6678ef76e948e5ec9c29c9 (patch)
treee690a1982ba20786b8ed763b8a86d5c50f42c674
parentf7aa17a2f2e34f8d58c391292549350ffd3184ec (diff)
downloaddrakx-backup-do-not-use-558badd6e3eb531cbd6678ef76e948e5ec9c29c9.tar
drakx-backup-do-not-use-558badd6e3eb531cbd6678ef76e948e5ec9c29c9.tar.gz
drakx-backup-do-not-use-558badd6e3eb531cbd6678ef76e948e5ec9c29c9.tar.bz2
drakx-backup-do-not-use-558badd6e3eb531cbd6678ef76e948e5ec9c29c9.tar.xz
drakx-backup-do-not-use-558badd6e3eb531cbd6678ef76e948e5ec9c29c9.zip
(createXconf): special case for "none" mouse device
-rw-r--r--perl-install/install_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm
index 0f975ee80..25765837c 100644
--- a/perl-install/install_gtk.pm
+++ b/perl-install/install_gtk.pm
@@ -178,7 +178,7 @@ sub createXconf {
$mouse_type = 'IMPS/2' if $mouse_type eq 'ExplorerPS/2';
devices::make("/dev/kbd") if arch() =~ /^sparc/; #- used by Xsun style server.
- symlinkf(devices::make($mouse_dev), "/dev/mouse");
+ symlinkf(devices::make($mouse_dev), "/dev/mouse") if $mouse_dev ne 'none';
#- needed for imlib to start on 8-bit depth visual.
symlink("/tmp/stage2/etc/imrc", "/etc/imrc");