summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-02-11 17:57:47 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-02-11 17:57:47 +0000
commitb01a17df505e13641058b4e77a4fe35cde278d40 (patch)
tree4bcc4b38a52516c90168b8f4da970f595118bdff
parent854afa7328b4616840fa743197f6759b8d8963a8 (diff)
downloaddrakx-kbd-mouse-x11-b01a17df505e13641058b4e77a4fe35cde278d40.tar
drakx-kbd-mouse-x11-b01a17df505e13641058b4e77a4fe35cde278d40.tar.gz
drakx-kbd-mouse-x11-b01a17df505e13641058b4e77a4fe35cde278d40.tar.bz2
drakx-kbd-mouse-x11-b01a17df505e13641058b4e77a4fe35cde278d40.tar.xz
drakx-kbd-mouse-x11-b01a17df505e13641058b4e77a4fe35cde278d40.zip
small fix noticed by pixel's eagle eye
-rw-r--r--lib/mouse.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mouse.pm b/lib/mouse.pm
index 9335c6f..1ff3068 100644
--- a/lib/mouse.pm
+++ b/lib/mouse.pm
@@ -437,14 +437,14 @@ sub various_xfree_conf {
}
my $inputdrvpath = '/usr/lib/xorg/modules/input';
- my @pkgs = [
+ my $pkgs = [
if_($mouse->{synaptics}, ['x11-driver-input-synaptics', "$inputdrvpath/synaptics_drv.so"]),
if_($mouse->{evdev_mice}, ['x11-driver-input-evdev', "$inputdrvpath/evdev_drv.so"]),
if_($mouse->{Protocol} eq 'vboxmouse', ['x11-driver-input-vboxmouse', "$inputdrvpath/vboxmouse_drv.so"]),
if_($mouse->{imwheel}, ['imwheel', "/usr/bin/imwheel"]),
if_(@{$mouse->{wacom}}, ['linuxwacom', "$inputdrvpath/wacom_drv.so"]),
];
- $do_pkgs->ensure_files_are_installed(@pkgs, 1) if @pkgs;
+ $do_pkgs->ensure_files_are_installed($pkgs, 1);
if ($mouse->{imwheel}) {
my $rc = "/etc/X11/imwheel/imwheelrc.$mouse->{imwheel}";