summaryrefslogtreecommitdiffstats
path: root/perl-install/mouse.pm
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-08-27 17:17:52 +0000
committerdamien <damien@mandriva.com>2001-08-27 17:17:52 +0000
commitdb2cd05de49fe5a9d8e9f6148487bce93a9209ee (patch)
treeef2d38bb925ef81d7854bbe960708197ab07226b /perl-install/mouse.pm
parent3b18e08492ede4590189018057c4d74c9eb511cb (diff)
downloaddrakx-db2cd05de49fe5a9d8e9f6148487bce93a9209ee.tar
drakx-db2cd05de49fe5a9d8e9f6148487bce93a9209ee.tar.gz
drakx-db2cd05de49fe5a9d8e9f6148487bce93a9209ee.tar.bz2
drakx-db2cd05de49fe5a9d8e9f6148487bce93a9209ee.tar.xz
drakx-db2cd05de49fe5a9d8e9f6148487bce93a9209ee.zip
make it compile
Diffstat (limited to 'perl-install/mouse.pm')
-rw-r--r--perl-install/mouse.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/mouse.pm b/perl-install/mouse.pm
index 661c32291..106270a38 100644
--- a/perl-install/mouse.pm
+++ b/perl-install/mouse.pm
@@ -13,6 +13,7 @@ use run_program;
use devices;
use commands;
use modules;
+use any;
use log;
my @mouses_fields = qw(nbuttons MOUSETYPE XMOUSETYPE name);
@@ -181,7 +182,7 @@ 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));
- symlinkf $mouse->{device}, "$prefix/dev/mouse" ? add_devfslink($prefix, "$prefix/dev/mouse") : log::l("creating $prefix/dev/mouse symlink failed");
+ symlinkf $mouse->{device}, "$prefix/dev/mouse" ? any::add_devfslink($prefix, "$prefix/dev/mouse") : log::l("creating $prefix/dev/mouse symlink failed");
if (arch() =~ /ppc/) {
my $s = join('',