aboutsummaryrefslogtreecommitdiff
path: root/templates/drupal.sh.erb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-02-29 08:42:30 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-02-29 08:42:30 -0300
commit6470cef3e3f01e21a038b67c8221a12c8a07b5be (patch)
tree2057ffd544e91412dcb97cbfec20faefbef9b56a /templates/drupal.sh.erb
parent46734d87d868467bec20d8f58450d19217c4d8f4 (diff)
downloadpuppet-drupal-6470cef3e3f01e21a038b67c8221a12c8a07b5be.tar.gz
puppet-drupal-6470cef3e3f01e21a038b67c8221a12c8a07b5be.tar.bz2
Oops
Diffstat (limited to 'templates/drupal.sh.erb')
-rw-r--r--templates/drupal.sh.erb2
1 files changed, 1 insertions, 1 deletions
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..."