use 'hash' instead of 'have' (closes #905)

This commit is contained in:
Romain Bignon 2012-10-27 13:25:37 +02:00
commit 9f3603d80f

View file

@ -22,7 +22,7 @@
# This script can be distributed under the same license as the
# weboob or bash packages.
have weboob-config &&
hash weboob-config 2>/dev/null &&
_weboob()
{
local cur words