]> gitweb.fluxo.info Git - puppet-drupal.git/commitdiff
Less verbosity for drush cron
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 11 Jun 2011 17:18:20 +0000 (14:18 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 11 Jun 2011 17:18:20 +0000 (14:18 -0300)
templates/drupal.sh.erb

index 77c4b53ce7027b4f3a2b0ce07edf8386832bc34a..2665571973cfdbecafe98d9b9e1eeafec4bce251 100644 (file)
@@ -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