Browse Source

* tests/lang: More robust LANG parsing to support values such as "ml_IN".

keep-around/43e990ab3f4cc50982f8dbc32e3465ca7c827876
Joey Hess 15 years ago
parent
commit
6063ada926
  1. 3
      debian/changelog
  2. 4
      tests/lang

3
debian/changelog

@ -14,6 +14,9 @@ tasksel (2.71) UNRELEASED; urgency=low
from japanese. No one seems have a needs to input Japanese on
Linux console.
[ Joey Hess ]
* tests/lang: More robust LANG parsing to support values such as "ml_IN".
-- Kenshi Muto <kmuto@debian.org> Sun, 09 Dec 2007 15:23:25 +0900
tasksel (2.70) unstable; urgency=low

4
tests/lang

@ -4,8 +4,8 @@
if [ "$NEW_INSTALL" ]; then
set -e
shift 1
baselang=$(expr "$LANG" : '\(.*\)_')
fulllang=$(expr "$LANG" : '\(.*\)\.')
baselang=${LANG%%_*}
fulllang=${LANG%%.*}
for locale in $@; do
if ( [ -n "$LANG" ] && [ "$LANG" = "$locale" ] ) || \
( [ -n "$fulllang" ] && [ "$fulllang" = "$locale" ] ) || \

Loading…
Cancel
Save