|
|
|
@ -9,7 +9,11 @@ alias sql="$SQL"
|
|
|
|
|
|
|
|
|
|
# Check for dependencies
|
|
|
|
|
if ! which $SQL >/dev/null 2>&1; then
|
|
|
|
|
printf '%s\n' "ERROR 12: Missing dependency -- '$sql' command not found." >&2
|
|
|
|
|
printf '%s\n' "ERROR 12: Missing dependency -- '$SQL' command not found." >&2
|
|
|
|
|
exit 12
|
|
|
|
|
fi
|
|
|
|
|
if ! which curl >/dev/null 2>&1; then
|
|
|
|
|
printf '%s\n' "ERROR 12: Missing dependency -- 'curl' command not found." >&2
|
|
|
|
|
exit 12
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|