]> gitweb.fluxo.info Git - puppet-drupal.git/commitdiff
Oops
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 29 Feb 2012 11:42:30 +0000 (08:42 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 29 Feb 2012 11:42:30 +0000 (08:42 -0300)
templates/drupal.sh.erb

index cfe48c075db116c2be40b89fcbdc279261fdc1bd..f2596abf340ae5e9bbe608b0d4ec8ab75c4487e3 100644 (file)
@@ -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..."