summaryrefslogtreecommitdiffstats
path: root/bashrc/common/locale.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc/common/locale.sh')
-rw-r--r--bashrc/common/locale.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/bashrc/common/locale.sh b/bashrc/common/locale.sh
index 97c3f17..cfe9f26 100644
--- a/bashrc/common/locale.sh
+++ b/bashrc/common/locale.sh
@@ -1,5 +1,9 @@
# find a usuable locale
eval unset ${!LC_*} LANG
-export LANG="en_US.UTF-8"
+
+if [ -e "/usr/share/locales/en_US.UTF-8" ]; then
+ export LANG="en_US.UTF-8"
+fi
+
export LC_COLLATE="C"