summaryrefslogtreecommitdiffstats
path: root/tools/closurepkgs
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-12-05 17:14:51 +0000
committerFrancois Pons <fpons@mandriva.com>2000-12-05 17:14:51 +0000
commit3e550d30825fe99118dd7c94c54a94ee06012e16 (patch)
treef66cdb05cc92a5bc47d48baf5af92a885a632b59 /tools/closurepkgs
parent7f02bd3425a9d581a76ee956f9f257594999e923 (diff)
downloaddrakx-3e550d30825fe99118dd7c94c54a94ee06012e16.tar
drakx-3e550d30825fe99118dd7c94c54a94ee06012e16.tar.gz
drakx-3e550d30825fe99118dd7c94c54a94ee06012e16.tar.bz2
drakx-3e550d30825fe99118dd7c94c54a94ee06012e16.tar.xz
drakx-3e550d30825fe99118dd7c94c54a94ee06012e16.zip
added management of multi-lang.
Diffstat (limited to 'tools/closurepkgs')
-rwxr-xr-xtools/closurepkgs5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/closurepkgs b/tools/closurepkgs
index e7a1907b9..2ef479486 100755
--- a/tools/closurepkgs
+++ b/tools/closurepkgs
@@ -30,7 +30,6 @@ sub main {
$params->keep_only_cleaned_provides_files();
foreach (glob("$dir/*.cz*")) { $params->read_hdlists($_) }
$params->compute_depslist();
- $params->write_depslist(\*STDERR);
my $compsslist = read_compsslist("$dir/compssList");
@@ -58,6 +57,10 @@ sub main {
foreach (keys %{$params->{info}}) {
push @force_install, $_ if grep { $_ == $params->{info}{"locales-$lang"}{id} } split ' ', $params->{info}{$_}{deps};
}
+ } else {
+ foreach (keys %{$params->{info}}) {
+ push @force_install, $_ if grep { $params->{depslist}[$_]{name} =~ /locales-/ } split ' ', $params->{info}{$_}{deps};
+ }
}
push @force_install, qw(cups cups-drivers drakprofile draksync irda-utils numlock raidtools reiserfs-utils
Mesa Mesa-demos alsa alsa-utils);