i18n: fixed config file parsing in hostonly mode

I accidently removed some parenthesis.
master
Harald Hoyer 2011-02-18 09:33:06 +01:00
parent 172d85b9c9
commit ebaed7d51f
1 changed files with 2 additions and 2 deletions

View File

@ -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}"