summaryrefslogtreecommitdiffstats
path: root/perl-install/mouse.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-19 21:19:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-19 21:19:21 +0000
commit66ff0e21bc1f61bd1968fb754a6930bce2f80a45 (patch)
tree404cfe4f1d55cbc7312a1cd3f650fdfaf898bde2 /perl-install/mouse.pm
parentc3469dbbba8df03e28b992a1a1467a047241ca10 (diff)
downloaddrakx-backup-do-not-use-66ff0e21bc1f61bd1968fb754a6930bce2f80a45.tar
drakx-backup-do-not-use-66ff0e21bc1f61bd1968fb754a6930bce2f80a45.tar.gz
drakx-backup-do-not-use-66ff0e21bc1f61bd1968fb754a6930bce2f80a45.tar.bz2
drakx-backup-do-not-use-66ff0e21bc1f61bd1968fb754a6930bce2f80a45.tar.xz
drakx-backup-do-not-use-66ff0e21bc1f61bd1968fb754a6930bce2f80a45.zip
(devfssymlinkf): use devfs_device instead of device when available
Diffstat (limited to 'perl-install/mouse.pm')
-rw-r--r--perl-install/mouse.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm
index 2caacff2b..db5914ff3 100644
--- a/perl-install/mouse.pm
+++ b/perl-install/mouse.pm
@@ -203,8 +203,8 @@ sub write {
local $mouse->{XEMU3} = bool2yesno($mouse->{nbuttons} < 3);
local $mouse->{WHEEL} = bool2yesno($mouse->{nbuttons} > 3);
setVarsInSh("$prefix/etc/sysconfig/mouse", $mouse, qw(MOUSETYPE XMOUSETYPE FULLNAME XEMU3 WHEEL device));
- any::devfssymlinkf ($mouse->{device}, 'mouse', $prefix) or log::l("creating $prefix/dev/mouse symlink failed");
- $mouse->{auxmouse} and any::devfssymlinkf ($mouse->{auxmouse}{device}, 'mouse1', $prefix) or log::l("creating $prefix/dev/mouse1 symlink failed");
+ any::devfssymlinkf($mouse, 'mouse', $prefix) or log::l("creating $prefix/dev/mouse symlink failed");
+ $mouse->{auxmouse} and any::devfssymlinkf($mouse->{auxmouse}, 'mouse1', $prefix) or log::l("creating $prefix/dev/mouse1 symlink failed");
if (arch() =~ /ppc/) {
my $s = join('',