aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-06-11 14:18:20 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-06-11 14:18:20 -0300
commit8b17d2a64976aaeba2f5d1597d1581a28ab13c6a (patch)
treee4624c7d838555723532cba92a70f2eed020bcb6
parent5042a5a35ccfaef712724d86b5b767d0aecef6ed (diff)
downloadpuppet-drupal-8b17d2a64976aaeba2f5d1597d1581a28ab13c6a.tar.gz
puppet-drupal-8b17d2a64976aaeba2f5d1597d1581a28ab13c6a.tar.bz2
Less verbosity for drush cron
-rw-r--r--templates/drupal.sh.erb4
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