diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-06-11 14:18:20 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-06-11 14:18:20 -0300 |
commit | 8b17d2a64976aaeba2f5d1597d1581a28ab13c6a (patch) | |
tree | e4624c7d838555723532cba92a70f2eed020bcb6 /templates | |
parent | 5042a5a35ccfaef712724d86b5b767d0aecef6ed (diff) | |
download | puppet-drupal-8b17d2a64976aaeba2f5d1597d1581a28ab13c6a.tar.gz puppet-drupal-8b17d2a64976aaeba2f5d1597d1581a28ab13c6a.tar.bz2 |
Less verbosity for drush cron
Diffstat (limited to 'templates')
-rw-r--r-- | templates/drupal.sh.erb | 4 |
1 files changed, 3 insertions, 1 deletions
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 |