From 3e550d30825fe99118dd7c94c54a94ee06012e16 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Tue, 5 Dec 2000 17:14:51 +0000 Subject: added management of multi-lang. --- tools/closurepkgs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools/closurepkgs') 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); -- cgit v1.2.1