mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 02:18:08 +00:00
Add check for curl during autoconf.
This commit is contained in:
parent
5177d1054e
commit
067e4c8b88
1 changed files with 6 additions and 2 deletions
|
@ -31,8 +31,12 @@ reddit_user=${0##*reddit_karma_}
|
|||
# autoconf
|
||||
##
|
||||
if [ "$1" = "autoconf" ]; then
|
||||
# No real requirements.
|
||||
echo yes
|
||||
# Check that curl is installed
|
||||
if hash curl &>/dev/null; then
|
||||
echo "yes"
|
||||
else
|
||||
echo "no (no curl installed)"
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue