Add cook quiet to cook repo

This commit is contained in:
Jeremy Soller 2017-05-07 15:50:41 -06:00
parent 282bba2655
commit 6188fc35e3

View File

@ -224,7 +224,10 @@ if [ -n "$1" ]
then
if [ "$1" = "repo" ]
then
echo -e "\033[01;38;5;215mcook - repo\033[0m" >&2
if [ ! "$COOK_QUIET" = "1" ]
then
echo -e "\033[01;38;5;215mcook - repo\033[0m" >&2
fi
echo "[packages]" > "$REPO.toml"
for toml in "$REPO/"*".toml"