Files
blomarchy/bin/blob-cmd-missing
T

12 lines
169 B
Bash
Executable File

#!/bin/bash
# blob:summary=Check whether any required commands are missing
for cmd in "$@"; do
if ! command -v "$cmd" &>/dev/null; then
exit 0
fi
done
exit 1