diff options
author | Francois Pons <fpons@mandriva.com> | 2000-12-05 17:14:51 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-12-05 17:14:51 +0000 |
commit | 3e550d30825fe99118dd7c94c54a94ee06012e16 (patch) | |
tree | f66cdb05cc92a5bc47d48baf5af92a885a632b59 /tools | |
parent | 7f02bd3425a9d581a76ee956f9f257594999e923 (diff) | |
download | drakx-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')
-rwxr-xr-x | tools/closurepkgs | 5 |
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); |