]> git.donarmstrong.com Git - home-base.git/commitdiff
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 4e21948e40e136cd37df36f9c8a04c30682eaf4e..378e08f40b6bfc82713d906587d77d7ede5003b9 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