summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-04-02 20:59:22 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-04-02 20:59:22 +0000
commita1b9aa24b09f9a6553fcb3425c08573aec57c38e (patch)
treee1d924b442983d175c06755f9e0b73784526629d
parent5e303e5c138cd5d003ee1db81708143cc862ae0a (diff)
downloaddrakx-backup-do-not-use-a1b9aa24b09f9a6553fcb3425c08573aec57c38e.tar
drakx-backup-do-not-use-a1b9aa24b09f9a6553fcb3425c08573aec57c38e.tar.gz
drakx-backup-do-not-use-a1b9aa24b09f9a6553fcb3425c08573aec57c38e.tar.bz2
drakx-backup-do-not-use-a1b9aa24b09f9a6553fcb3425c08573aec57c38e.tar.xz
drakx-backup-do-not-use-a1b9aa24b09f9a6553fcb3425c08573aec57c38e.zip
(setPackages): install imwheel if nbuttons > 3
-rw-r--r--perl-install/install_any.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index f884691b9..69a47e959 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -306,6 +306,7 @@ sub setPackages {
push @{$o->{default_packages}}, "usbd" if modules::get_alias("usb-interface");
push @{$o->{default_packages}}, "reiserfs-utils" if grep { isReiserfs($_) } @{$o->{fstab}};
push @{$o->{default_packages}}, "alsa", "alsa-utils" if modules::get_alias("sound-slot-0") =~ /^snd-card-/;
+ push @{$o->{default_packages}}, "imwheel" if $o->{mouse}{nbuttons} > 3;
pkgs::getDeps($o->{prefix}, $o->{packages});
pkgs::selectPackage($o->{packages},