diff options
author | Francois Pons <fpons@mandriva.com> | 2001-10-03 12:09:45 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-10-03 12:09:45 +0000 |
commit | 5aed26cfa26fbc19d7788103878374884a02383c (patch) | |
tree | 1093c7399d094bc9cf1afb23763ac8506a76c65b /tools/oem-prepare | |
parent | 8d761374928fbdd00a992a5a5e3efd9b63ab8dd5 (diff) | |
download | drakx-backup-do-not-use-5aed26cfa26fbc19d7788103878374884a02383c.tar drakx-backup-do-not-use-5aed26cfa26fbc19d7788103878374884a02383c.tar.gz drakx-backup-do-not-use-5aed26cfa26fbc19d7788103878374884a02383c.tar.bz2 drakx-backup-do-not-use-5aed26cfa26fbc19d7788103878374884a02383c.tar.xz drakx-backup-do-not-use-5aed26cfa26fbc19d7788103878374884a02383c.zip |
removed 3D games not installed by default.
Diffstat (limited to 'tools/oem-prepare')
-rwxr-xr-x | tools/oem-prepare | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/tools/oem-prepare b/tools/oem-prepare index b92201273..ab8dda62a 100755 --- a/tools/oem-prepare +++ b/tools/oem-prepare @@ -8,6 +8,8 @@ $mode =~ s/^--(rebuild|clean)$/$1/ or die "mode should be --rebuild or --clean\n open F, "$dir/VERSION" or die "no installation found on $dir"; while (<F>) { /[\s-]fr/ and $lang = 'fr'; + /\[lang[=:]([^]]*)\]/ and $lang = $1; + /\[server\]/ and $options{server} = ''; } close F; @@ -21,6 +23,9 @@ foreach ($lang || 'en') { /es/ and ($lang, $flang, $charset) = ('es', 'es_ES@euro', 'iso-8859-15'); } print "Found lang $lang\n"; +foreach (keys %options) { + print "Using option [$_" . ($options{$_} && "=$options{$_}") . "]\n"; +} my $packages = select_packages($dir, $lang); @@ -187,10 +192,10 @@ sub select_packages { #- special packages that are to be move to closure always ... foreach (qw(kernel-smp kernel-linus kernel-secure hackkernel-smp hackkernel-linus hackkernel-secure kernel-pcmcia-cs - xawtv kwintv xscreensaver-gl xmms-mesa - bzflag csmash gltron spacecup chromium tuxracer FlightGear armagetron + xawtv kwintv xscreensaver-gl xmms-mesa openuniverse + csmash chromium tuxracer armagetron alsa imwheel nfs-utils-clients lvm usbd hotplug reiserfsprogs - sox aumix xawtv gatos kwintv sane-frontends gphoto gnome-toaster gcombust xcdroast apmd cdlabelgen + sox aumix xmms-arts xawtv gatos kwintv sane-frontends gphoto gnome-toaster gcombust xcdroast apmd cdlabelgen ), exists $options{server} ? qw(Aurora Aurora-Monitor-NewStyle-Categorizing-WsLib) : ()) { my $pkg = pkgs::packageByName($o->{packages}, $_); if ($pkg) { |