[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

please remove XSI:isms



Package: tasksel
Severity: wishlist

* David Weinehall <tao@debian.org> [2004-06-17 21:51]:
> Could you apply the small patch below (which rids the scripts
> of XSI:isms)?
> 
> Regards: David Weinehall
> 
> --- tasksel-2.00/tests/lang.old	2004-06-13 23:23:21.000000000 +0300
> +++ tasksel-2.00/tests/lang	2004-06-13 23:23:52.000000000 +0300
> @@ -5,8 +5,8 @@
>  shift 1
>  baselang=$(expr "$LANG" : '\(.*\)_')
>  for locale in $@; do
> -	if [ -n "$LANG" -a "$LANG" = "$locale" ] || \
> -	   [ -n "$baselang" -a "$baselang" = "$locale" ]; then
> +	if ( [ -n "$LANG" ] && [ "$LANG" = "$locale" ] ) || \
> +	   ( [ -n "$baselang" ] && [ "$baselang" = "$locale" ] ); then
>  	   exit 0 # install without display
>  	fi
>  done

I'm filing a bug since JoeyH is away for a week.
-- 
Martin Michlmayr
tbm@cyrius.com



Reply to: