Skip to content

Instantly share code, notes, and snippets.

@alexmx
Created July 4, 2016 10:40
Show Gist options
  • Save alexmx/ed07cc15f20d94cdbcdbed7d6374487a to your computer and use it in GitHub Desktop.
Save alexmx/ed07cc15f20d94cdbcdbed7d6374487a to your computer and use it in GitHub Desktop.
if which TOOL >/dev/null; then
# Do something
else
echo "warning: TOOL not installed."
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment