summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-09-26 13:05:52 +0000
committerFrancois Pons <fpons@mandriva.com>2000-09-26 13:05:52 +0000
commitbee3b910c74791ba880782e0f77f7c0380f741a5 (patch)
treedd71492518d77f65a4ac4bcfb1bc03cf8f95a038 /perl-install/install_any.pm
parentd19f677a0b79901a36c0751827724d8819f81356 (diff)
downloaddrakx-backup-do-not-use-bee3b910c74791ba880782e0f77f7c0380f741a5.tar
drakx-backup-do-not-use-bee3b910c74791ba880782e0f77f7c0380f741a5.tar.gz
drakx-backup-do-not-use-bee3b910c74791ba880782e0f77f7c0380f741a5.tar.bz2
drakx-backup-do-not-use-bee3b910c74791ba880782e0f77f7c0380f741a5.tar.xz
drakx-backup-do-not-use-bee3b910c74791ba880782e0f77f7c0380f741a5.zip
*** empty log message ***
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm17
1 files changed, 9 insertions, 8 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index f3d56f596..7ca6d11a6 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -314,8 +314,10 @@ sub setPackages($) {
require timezone;
require lang;
push @l, "isdn4k-utils" if ($o->{timezone}{timezone} || timezone::bestTimezone(lang::lang2text($o->{lang}))) =~ /Europe/;
+ $_->{values} = [ map { $_ + 50 } @{$_->{values}} ] foreach grep {$_} map { pkgs::packageByName($o->{packages}, $_) } @l;
#- add OpenGL games that are only usefull if a 3D accelerated card is installed.
+ my @gl = ();
if (detect_devices::matching_desc('Matrox.* G[24]00') ||
detect_devices::matching_desc('Rage X[CL]') ||
detect_devices::matching_desc('Rage Mobility (?:P\/M|L) ') ||
@@ -324,15 +326,14 @@ sub setPackages($) {
detect_devices::matching_desc('Voodoo Banshee') ||
detect_devices::matching_desc('8281[05].* CGC') ||
detect_devices::matching_desc('Rage 128')) {
- push @l, "xscreensaver-gl", "Mesa-demos", "xmms-mesa";
- push @l, "bzflag" if (!detect_devices::matching_desc('Rage X[CL]') &&
- !detect_devices::matching_desc('Rage Mobility (?:P\/M|L) ') &&
- !detect_devices::matching_desc('3D Rage (?:LT|Pro)'));
- push @l, "csmash", "gltron" if (!detect_devices::matching_desc('Rage 128')); #- does not work well on transparancy.
- push @l, "spacecup", "chromium";
+ push @gl, "xscreensaver-gl", "Mesa-demos", "xmms-mesa";
+ push @gl, "bzflag" if (!detect_devices::matching_desc('Rage X[CL]') &&
+ !detect_devices::matching_desc('Rage Mobility (?:P\/M|L) ') &&
+ !detect_devices::matching_desc('3D Rage (?:LT|Pro)'));
+ push @gl, "csmash", "gltron" if (!detect_devices::matching_desc('Rage 128')); #- does not work well on transparancy.
+ push @gl, "spacecup", "chromium";
}
-
- $_->{values} = [ map { $_ + 50 } @{$_->{values}} ] foreach grep {$_} map { pkgs::packageByName($o->{packages}, $_) } @l;
+ $_->{values} = [ map { $_ + 60 } @{$_->{values}} ] foreach grep {$_} map { pkgs::packageByName($o->{packages}, $_) } @gl;
} else {
#- this has to be done to make sure necessary files for urpmi are
#- present.