From: Silvio Rhatto Date: Wed, 29 Feb 2012 11:42:30 +0000 (-0300) Subject: Oops X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=6470cef3e3f01e21a038b67c8221a12c8a07b5be;p=puppet-drupal.git Oops --- diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb index cfe48c0..f2596ab 100644 --- a/templates/drupal.sh.erb +++ b/templates/drupal.sh.erb @@ -67,7 +67,7 @@ function drupal_iterate { if [ -e "$drupal/settings.php" ]; then hash="sha1sum $drupal/settings.php" # Process sites just once, avoiding symlinks - if echo $settings_hash | grep -q $hash; then + if echo $settings_hash | grep -q -v $hash; then settings_hash="$settings_hash-$hash" if [ "$1" != "cron" ]; then echo "Processing $drupal..."