Browse Source

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

tags/2.58
Joey Hess 15 years ago
parent
commit
0fb0e81888
2 changed files with 4 additions and 1 deletions
  1. +2
    -1
      debian/changelog
  2. +2
    -0
      tests/lang

+ 2
- 1
debian/changelog View File

@@ -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
- 0
tests/lang View File

@@ -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