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:
parent
5177d1054e
commit
067e4c8b88
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue