Add test to avoid useless message
This commit is contained in:
parent
7f3d7e5158
commit
646f1390c1
|
@ -11,4 +11,8 @@ check_bin_in_path() {
|
|||
check_bin_in_path "eix-sync emerge grep echo cat lsof awk sort"
|
||||
check_bin_in_path "restart-services sendmail rm"
|
||||
|
||||
printf "You’r missing this:${MISSING}\n"
|
||||
if [ ! -z "${MISSING}" ]; then
|
||||
printf "You’r missing this:${MISSING}\n"
|
||||
else
|
||||
printf "All looks good\n"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue