diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2002-07-31 20:51:06 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2002-07-31 20:51:06 +0000 |
commit | 6c44b0b3252152f060e7acb975390ec6d21c7293 (patch) | |
tree | 3a053db6ce3f30f152b9a1fecd94451ef3e3b22b /perl-install | |
parent | a68aaabeb1321d10dcc2facc5e3d7b5593526ccd (diff) | |
download | drakx-6c44b0b3252152f060e7acb975390ec6d21c7293.tar drakx-6c44b0b3252152f060e7acb975390ec6d21c7293.tar.gz drakx-6c44b0b3252152f060e7acb975390ec6d21c7293.tar.bz2 drakx-6c44b0b3252152f060e7acb975390ec6d21c7293.tar.xz drakx-6c44b0b3252152f060e7acb975390ec6d21c7293.zip |
(read): don't look at /dev/mouse symlink to get {device}, sysconfig/mouse
gives it, so why bother (this fixes /dev//dev/misc/psaux bug)
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/mouse.pm | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm index f41f984ff..eb1f44d8a 100644 --- a/perl-install/mouse.pm +++ b/perl-install/mouse.pm @@ -192,7 +192,6 @@ sub read { my ($prefix) = @_; my %mouse = getVarsFromSh "$prefix/etc/sysconfig/mouse"; eval { add2hash_(\%mouse, fullname2mouse($mouse{FULLNAME})) }; - $mouse{device} = readlink "$prefix/dev/mouse" or log::l("reading $prefix/dev/mouse symlink failed"); $mouse{nbuttons} = $mouse{XEMU3} eq "yes" ? 2 : $mouse{WHEEL} eq "yes" ? 5 : 3; \%mouse; } |