mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 05:29:09 -07:00
Change locale detection.
This commit is contained in:
@@ -27,9 +27,9 @@ export VIRTUALENVWRAPPER_VIRTUALENV_ARGS='--no-site-packages'
|
|||||||
export GPG_ID=7FD58D9A196DCEEEAD671F94F4D7A7915DEA789B
|
export GPG_ID=7FD58D9A196DCEEEAD671F94F4D7A7915DEA789B
|
||||||
|
|
||||||
# Setup locale
|
# Setup locale
|
||||||
if test -f /usr/share/i18n/SUPPORTED ; then
|
if test -x /usr/bin/locale ; then
|
||||||
for l in en_US.UTF-8 C ; do
|
for l in en_US.UTF-8 C.UTF-8 C ; do
|
||||||
if grep -q "${l}" /usr/share/i18n/SUPPORTED ; then
|
if /usr/bin/locale -a | grep -q "${l}" ; then
|
||||||
export LC_CTYPE=${l}
|
export LC_CTYPE=${l}
|
||||||
export LC_NUMERIC=${l}
|
export LC_NUMERIC=${l}
|
||||||
export LC_TIME=${l}
|
export LC_TIME=${l}
|
||||||
|
|||||||
Reference in New Issue
Block a user