summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-03-13 15:37:38 +0000
committerOlivier Blin <oblin@mandriva.org>2006-03-13 15:37:38 +0000
commitb130c4f96dc9b5cdc9ca0eb38311022f0b493733 (patch)
tree847f17b1b26f10e66718f268525af999c907b643 /tools
parent7954476e3dbf0c490a78da947c41b5fb05e10f0d (diff)
downloaddrakx-b130c4f96dc9b5cdc9ca0eb38311022f0b493733.tar
drakx-b130c4f96dc9b5cdc9ca0eb38311022f0b493733.tar.gz
drakx-b130c4f96dc9b5cdc9ca0eb38311022f0b493733.tar.bz2
drakx-b130c4f96dc9b5cdc9ca0eb38311022f0b493733.tar.xz
drakx-b130c4f96dc9b5cdc9ca0eb38311022f0b493733.zip
don't vivify regions array
Diffstat (limited to 'tools')
-rwxr-xr-xtools/draklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/draklive b/tools/draklive
index 9d4b2650d..52ae3634b 100755
--- a/tools/draklive
+++ b/tools/draklive
@@ -446,7 +446,7 @@ label live
sub install_system {
my ($live) = @_;
- my @langs = uniq(@{$live->{regions}{$live->{system}{region}}}, @{$live->{system}{langs_always}});
+ my @langs = uniq((ref $live->{regions} ? @{$live->{regions}{$live->{system}{region}}} : ()), @{$live->{system}{langs_always}});
run_({ timeout => 3600 },
'drakx-in-chroot',
$live->{system}{repository},