2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Add check for curl during autoconf.

This commit is contained in:
Mark Caudill 2012-07-21 13:33:17 +00:00
parent 5177d1054e
commit 067e4c8b88

View File

@ -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