fix bash_profile so it stops screwing up with en_US has not been built
authorDon Armstrong <don@donarmstrong.com>
Mon, 15 May 2006 17:10:06 +0000 (17:10 +0000)
committerDon Armstrong <don@donarmstrong.com>
Mon, 15 May 2006 17:10:06 +0000 (17:10 +0000)
.bash_profile

index 4e21948..378e08f 100644 (file)
@@ -22,6 +22,10 @@ fi
 #    MANPATH=~/man:"${MANPATH}"
 #fi
 
-LANG="en_US.UTF-8"
+if locale -a |grep -qi en_US.utf8; then
+    LANG="en_US.UTF-8"
+else
+    LANG=C
+fi;
 
 export LANG