From 931435f1e0a985f136037feb57306b7418d4b1bf Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Mon, 18 Nov 2013 20:48:23 +0100 Subject: [PATCH] Fix locale template --- root/etc/e-smith/templates/etc/dl.php/25Locale | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/root/etc/e-smith/templates/etc/dl.php/25Locale b/root/etc/e-smith/templates/etc/dl.php/25Locale index 9eb55ff..631746a 100644 --- a/root/etc/e-smith/templates/etc/dl.php/25Locale +++ b/root/etc/e-smith/templates/etc/dl.php/25Locale @@ -1,5 +1,5 @@ { -my $local = $sysconfig{'Language'} || 'en_US'; +my $locale = $sysconfig{'Language'} || 'en_US'; $locale = (-e "/usr/share/dl/include/locale/$locale") ? "$locale":'en_US'; -$OUT .= "\$defLocale = '$locale'"; +$OUT .= "\$defLocale = '$locale';"; }