From 1bc6747457b4afac2e10e1c67964711cb90e6e01 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Mon, 5 Dec 2005 14:22:52 +0000 Subject: 22050: fixes for Debian GNU/kfreebsd --- Completion/Unix/Type/_locales | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Unix/Type/_locales') diff --git a/Completion/Unix/Type/_locales b/Completion/Unix/Type/_locales index e809667d1..a449ebe16 100644 --- a/Completion/Unix/Type/_locales +++ b/Completion/Unix/Type/_locales @@ -4,7 +4,7 @@ local expl locales if (( $+commands[locale] )); then locales=( $(_call_program locales locale -a) ) - [[ $OSTYPE = linux-gnu ]] && locales=( ${locales/utf8/UTF-8} ) + [[ $OSTYPE = *-gnu ]] && locales=( ${locales/utf8/UTF-8} ) else locales=( /usr/lib/locale/*(:t) ) fi -- cgit 1.4.1