Description: fix syntax of bash completion since have doesn't seem to work
Forwarded: no
Author: Ryan Niebur <ryan@debian.org>

Index: ack-grep/etc/ack.bash_completion.sh
===================================================================
--- ack-grep.orig/etc/ack.bash_completion.sh	2012-05-01 09:41:22.000000000 -0700
+++ ack-grep/etc/ack.bash_completion.sh	2012-06-03 21:22:01.000000000 -0700
@@ -12,7 +12,7 @@
 # Thanks to John Purnell for pointing out some missed options.
 
 # ack-grep on Debian distros
-have ack || have ack-grep && {
+type ack &>/dev/null || type ack-grep &>/dev/null && {
 
 # please accept my apologies for polluting the environment!
 __ack_types=$(ack-grep --help=types 2>/dev/null || ack --help=types 2>/dev/null | \
