12 lines
172 B
Bash
12 lines
172 B
Bash
|
|
#!/bin/bash
|
||
|
|
|
||
|
|
# archypr: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
|