summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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},