[f21-branch][master][PATCH 1/2] Revert "Make Python's default encoding detection work on Live installations (#1169019)"

Adam Williamson awilliam at redhat.com
Tue Dec 2 04:32:51 UTC 2014


This reverts commit 9a63391c08cdcb5efdc3f9c9b56138fe85e06589.
It was a bad way to try and fix the crashes. It stopped
translations from being correctly displayed. A better fix is
coming.
---
 data/liveinst/liveinst | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/data/liveinst/liveinst b/data/liveinst/liveinst
index 0a68596..9d47a19 100755
--- a/data/liveinst/liveinst
+++ b/data/liveinst/liveinst
@@ -173,12 +173,6 @@ if [ ! -z "$UPDATES" ]; then
     export PATH=/tmp/updates:$PATH
 fi
 
-if [ -z $LC_ALL ]; then
-    # LC_ALL not set, set it to $LANG to make Python's default encoding
-    # detection work
-    export LC_ALL=$LANG
-fi
-
 if [ -x /usr/bin/udisks ]; then
     /usr/bin/udisks --inhibit -- $ANACONDA $*
 else
-- 
2.1.0



More information about the anaconda-patches mailing list