tj.git-extras/check_dependencies.sh
spacewander 58d13f88d4 Makefile: check dependencies before installation.
So that the packager will know what are dependencied when they are
making a new package.
2019-06-27 15:12:30 +08:00

11 lines
164 B
Bash
Executable file

#!/usr/bin/env bash
err() {
echo >&2 "$1"
exit 1
}
if ! test "$(which column)"; then
err "Need to install dependency 'column' before installation"
fi