diff --git a/ChangeLog b/ChangeLog index c61f1060b..0241f5457 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-08-06 Oliver Kiddle + + * unposted: Completion/Unix/Command/_texinfo: remove usage of 4.1 + specific feature + 2003-08-01 Peter Stephenson * 18920: Src/utils.c, Completion/Core/Base/_main_complete: update diff --git a/Completion/Unix/Command/_texinfo b/Completion/Unix/Command/_texinfo index 5c118f3f0..0e82cb80e 100644 --- a/Completion/Unix/Command/_texinfo +++ b/Completion/Unix/Command/_texinfo @@ -26,7 +26,7 @@ case $service in info=( $info {(kv)opt_args[(I)(-d|--directory|-f|--file)]} ) ;; install-info) - if _pick_variant debian=Debian gnu --version; then + if [[ $(_call_program version $words[1] --version 2>&1) = *Debian* ]]; then _arguments -S \ '(* -)--help[display help information]' \ '(* -)--version[display version information]' \