mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-24 09:57:09 +00:00
shell: use 'command -v' instead of 'hash' (for non-bash)
see https://stackoverflow.com/a/677212
This commit is contained in:
parent
bd26b1b42d
commit
189c3953e7
5 changed files with 5 additions and 5 deletions
|
@ -78,7 +78,7 @@ case $1 in
|
|||
done
|
||||
exit 0;;
|
||||
autoconf)
|
||||
if hash bing 2>/dev/null; then
|
||||
if command -v bing >/dev/null 2>&1; then
|
||||
echo 'yes'
|
||||
exit 0;
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue