diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-12-19 17:03:52 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-12-19 17:03:52 -0400 |
commit | 1ccc1ecd9f92131d0cc9f46a7ca5d97888039aa5 (patch) | |
tree | eef6ef82092c14f41693031e317f1700aa2b5f55 /standalone | |
parent | f975e5814bfa506b715ac66df1b76c66d37668ba (diff) |
Linux standalone: Improve generation of locale definition files, supporting locales such as, en_GB.UTF-8.
Diffstat (limited to 'standalone')
-rwxr-xr-x | standalone/linux/skel/runshell | 2 |
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.$$" && |