aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiktor w brodlo <wiktor@brodlo.net>2011-08-14 13:34:35 +0000
committerwiktor w brodlo <wiktor@brodlo.net>2011-08-14 13:40:48 +0000
commit4402f20224b2cac121b5e788e4395ff4809b6371 (patch)
treecd053ba5be7e3bc8ed45f0cdea9b026e00b96b65
parentfix typo (diff)
downloadanaconda-4402f20224b2cac121b5e788e4395ff4809b6371.tar.gz
anaconda-4402f20224b2cac121b5e788e4395ff4809b6371.tar.bz2
anaconda-4402f20224b2cac121b5e788e4395ff4809b6371.zip
fix LC_ALL issue
-rw-r--r--'13
-rw-r--r--gentoo/utils.py6
-rw-r--r--language.py3
3 files changed, 5 insertions, 17 deletions
diff --git a/' b/'
deleted file mode 100644
index 9d32282..0000000
--- a/'
+++ /dev/null
@@ -1,13 +0,0 @@
-ui/anaconda.glade: make more space on the screen
-# Please enter the commit message for your changes. Lines starting
-# with '#' will be ignored, and an empty message aborts the commit.
-# On branch master
-# Changes to be committed:
-# (use "git reset HEAD <file>..." to unstage)
-#
-# modified: ui/anaconda.glade
-#
-# Untracked files:
-# (use "git add <file>..." to include in what will be committed)
-#
-# .gitignore
diff --git a/gentoo/utils.py b/gentoo/utils.py
index 017c8d4..808202b 100644
--- a/gentoo/utils.py
+++ b/gentoo/utils.py
@@ -759,12 +759,12 @@ class GentooInstall:
"""
- action = _("System Installation")
- anaconda._intf.instProgress.terminal.run_command("tar xvjpf /tmp/stage3.tar.bz2 -C "+self._root)
+ action = _("Unpacking stage3")
+ anaconda._intf.instProgress.terminal.run_command("tar xvjpf "+productPath+" -C "+self._root)
self._progress.set_fraction(1)
- self._progress.set_text(_("Installation complete"))
+ self._progress.set_text(_("Unpacking stage3 complete"))
def language_packs_install(self):
return
diff --git a/language.py b/language.py
index af3c206..9c8350d 100644
--- a/language.py
+++ b/language.py
@@ -82,9 +82,10 @@ class Language(object):
os.environ["LANG"] = self._instLang
os.environ["LANGUAGE"] = self._instLang
os.environ["LC_NUMERIC"] = "C"
+ os.environ["LC_ALL"] = self._instLang
try:
- locale.setlocale(locale.LC_ALL, "")
+ locale.setlocale(locale.LC_ALL, self._instLang)
except locale.Error:
pass