From 5c83b27e9a0bc17148e62ad3dbf630f8d0b57d29 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Tue, 7 Mar 2006 11:38:22 +0000 Subject: allow to add langs whatever the region --- tools/draklive | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/draklive b/tools/draklive index 9f0705d70..251b5ed8f 100755 --- a/tools/draklive +++ b/tools/draklive @@ -443,11 +443,12 @@ label live sub install_system { my ($live) = @_; + my @langs = uniq(@{$live->{regions}{$live->{system}{region}}}, @{$live->{system}{langs_always}}); run_({ timeout => 3600 }, 'drakx-in-chroot', $live->{system}{repository}, get_system_root($live), - if_($live->{system}{region}, '--langs', join(':', @{$live->{regions}{$live->{system}{region}}})), + if_($live->{system}{region}, '--langs', join(':', @langs)), if_($live->{system}{auto_install}, '--auto_install', Cwd::abs_path($live->{system}{auto_install})), if_($live->{system}{patch_install}, '--defcfg', Cwd::abs_path($live->{system}{patch_install})), if_($live->{system}{rpmsrate}, '--rpmsrate', Cwd::abs_path($live->{system}{rpmsrate}))) -- cgit v1.2.1