summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config/mv_install.py
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-07 21:10:44 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-07 21:10:44 (GMT)
commitc6127b6661439b1c7fa2240a102cd4dcb02ddba8 (patch)
treec317a4bd6b3acaf78f9b119ba90c185e96cc01a5 /abs/core/LinHES-config/mv_install.py
parent5ec18757188fa4a0d90f5f6cf0943fd20bd8be34 (diff)
downloadlinhes_pkgbuild-c6127b6661439b1c7fa2240a102cd4dcb02ddba8.zip
linhes_pkgbuild-c6127b6661439b1c7fa2240a102cd4dcb02ddba8.tar.gz
linhes_pkgbuild-c6127b6661439b1c7fa2240a102cd4dcb02ddba8.tar.bz2
LinHES-config: add support for selecting the lang/country during install.
The lang is then translated to a locale which is then applied to the system by mv_locale. The lang->locale lookup is done inside mv_locale with a static dict. refs #738 refs #100 refs #680
Diffstat (limited to 'abs/core/LinHES-config/mv_install.py')
-rwxr-xr-xabs/core/LinHES-config/mv_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/abs/core/LinHES-config/mv_install.py b/abs/core/LinHES-config/mv_install.py
index 522fc23..877ca67 100755
--- a/abs/core/LinHES-config/mv_install.py
+++ b/abs/core/LinHES-config/mv_install.py
@@ -1209,7 +1209,7 @@ def genlocale():
outline = line.replace('#','')
f.write(outline)
- f.close
+ f.close()
#cp_and_log("/tmp/locale.gen.new", data_config.MOUNTPOINT+"/etc/locale.gen")
cmd = "chroot " + data_config.MOUNTPOINT +" /usr/sbin/locale-gen"
runcmd(cmd)