28 lines
947 B
Diff
28 lines
947 B
Diff
From ebaed7d51f61d331d128037e0b37130c58e957e3 Mon Sep 17 00:00:00 2001
|
|
From: Harald Hoyer <harald@redhat.com>
|
|
Date: Fri, 18 Feb 2011 09:33:06 +0100
|
|
Subject: [PATCH] i18n: fixed config file parsing in hostonly mode
|
|
|
|
I accidently removed some parenthesis.
|
|
---
|
|
modules.d/10i18n/module-setup.sh | 4 ++--
|
|
1 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/modules.d/10i18n/module-setup.sh b/modules.d/10i18n/module-setup.sh
|
|
index a524d2d..57a0f9a 100755
|
|
--- a/modules.d/10i18n/module-setup.sh
|
|
+++ b/modules.d/10i18n/module-setup.sh
|
|
@@ -68,10 +68,10 @@ install() {
|
|
|
|
for item in $@
|
|
do
|
|
- item=${item/:/ }
|
|
+ item=(${item/:/ })
|
|
for map in ${item[1]//,/ }
|
|
do
|
|
- map=${map//-/ }
|
|
+ map=(${map//-/ })
|
|
value=$(grep "^${map[0]}=" "${item[0]}")
|
|
value=${value#*=}
|
|
echo "${map[1]:-${map[0]}}=${value}"
|