gentoo-auto-update/check_deps.sh

17 lines
309 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#/bin/sh
check_bin_in_path() {
if [ -z $(which $1 2>/dev/null) ]; then
MISSING="${MISSING} $1"
fi
}
check_bin_in_path eix-sync
check_bin_in_path emerge
check_bin_in_path grep
check_bin_in_path cat
check_bin_in_path restart-services
check_bin_in_path sendmail
printf "Your missing this:${MISSING}\n"