From: Silvio Rhatto Date: Sat, 11 Jun 2011 17:18:20 +0000 (-0300) Subject: Less verbosity for drush cron X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=8b17d2a64976aaeba2f5d1597d1581a28ab13c6a;p=puppet-drupal.git Less verbosity for drush cron --- diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb index 77c4b53..2665571 100644 --- a/templates/drupal.sh.erb +++ b/templates/drupal.sh.erb @@ -37,7 +37,9 @@ function drupal_iterate { for drupal in $drupals; do # Ignore symlinks so sites are updated just once if [ ! -h "$drupal" ] || [ ! -h "`readlink $drupal`" ]; then - echo "Processing $drupal..." + if [ "$1" != "cron" ]; then + echo "Processing $drupal..." + fi drush -l $drupal $* fi done