Commit 36a03146 authored by Lukas Schauer's avatar Lukas Schauer

fixed curl check (fixes #112)

parent 79b17feb
......@@ -26,8 +26,8 @@ check_dependencies() {
# curl returns with an error code in some ancient versions so we have to catch that
set +e
curl -V > /dev/null 2>&1
set -e
retcode="$?"
set -e
if [[ ! "${retcode}" = "0" ]] && [[ ! "${retcode}" = "2" ]]; then
_exiterr "This script requires curl."
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment