summaryrefslogtreecommitdiff
path: root/standalone
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2016-12-19 17:03:52 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2016-12-19 17:03:52 -0400
commit1ccc1ecd9f92131d0cc9f46a7ca5d97888039aa5 (patch)
treeeef6ef82092c14f41693031e317f1700aa2b5f55 /standalone
parentf975e5814bfa506b715ac66df1b76c66d37668ba (diff)
Linux standalone: Improve generation of locale definition files, supporting locales such as, en_GB.UTF-8.
Diffstat (limited to 'standalone')
-rwxr-xr-xstandalone/linux/skel/runshell2
1 files changed, 1 insertions, 1 deletions
diff --git a/standalone/linux/skel/runshell b/standalone/linux/skel/runshell
index d6bec7aa3..a4578eb1b 100755
--- a/standalone/linux/skel/runshell
+++ b/standalone/linux/skel/runshell
@@ -132,7 +132,7 @@ for localeenv in "$LANG" "$LANGUAGE" "$LC_CTYPE" "$LC_NUMERIC" "$LC_TIME" \
if [ "$localeenv" != "$lastlocaleenv" ]; then
lastlocaleenv="$localeenv"
if [ ! -d "$base/locales/$localeenv" ]; then
- if [ "${localeenv##[!.]*.}" = "utf8" ]; then
+ if [ "${localeenv##[!.]*.}" = "utf8" ] || [ "${localeenv##[!.]*.}" = "UTF-8" ]; then
(
rm -rf "$base/locales/$localeenv.new.$$" &&
mkdir -p "$base/locales/$localeenv.new.$$" &&