Browse Source

* Make the lang test support languages of the form ll_LL. Closes: #393966

keep-around/43e990ab3f4cc50982f8dbc32e3465ca7c827876
Joey Hess 16 years ago
parent
commit
0fb0e81888
  1. 3
      debian/changelog
  2. 2
      tests/lang

3
debian/changelog

@ -13,8 +13,9 @@ tasksel (2.58) UNRELEASED; urgency=low
[ Joey Hess ]
* brasero is in testing, remove bonfire legacy package.
* Make the lang test support languages of the form ll_LL. Closes: #393966
-- Joey Hess <joeyh@debian.org> Thu, 19 Oct 2006 15:06:00 -0400
-- Joey Hess <joeyh@debian.org> Thu, 19 Oct 2006 16:14:35 -0400
tasksel (2.57) unstable; urgency=low

2
tests/lang

@ -5,8 +5,10 @@ if [ "$NEW_INSTALL" ]; then
set -e
shift 1
baselang=$(expr "$LANG" : '\(.*\)_')
fulllang=$(expr "$LANG" : '\(.*\)\.')
for locale in $@; do
if ( [ -n "$LANG" ] && [ "$LANG" = "$locale" ] ) || \
( [ -n "$fulllang" ] && [ "$fulllang" = "$locale" ] ) || \
( [ -n "$baselang" ] && [ "$baselang" = "$locale" ] ); then
exit 0 # install without display
fi

Loading…
Cancel
Save