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:
parent
5177d1054e
commit
067e4c8b88
@ -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…
Reference in New Issue
Block a user