diff --git a/install.sh b/install.sh index f9e5f2e..3fb9042 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,10 @@ #!/usr/bin/env bash + +# ─< Check if the given command exists silently >───────────────────────────────────────── +command_exists() { + command -v "$@" >/dev/null 2>&1 +} + getImports() { local url="$1" local import="$(mktemp)"