1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-25 18:38:30 +00: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 # autoconf
## ##
if [ "$1" = "autoconf" ]; then if [ "$1" = "autoconf" ]; then
# No real requirements. # Check that curl is installed
echo yes if hash curl &>/dev/null; then
echo "yes"
else
echo "no (no curl installed)"
fi
exit 0 exit 0
fi fi