From 70d738783e00ed1f3338fa33b99b1bfde2b3c949 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 30 Dec 2009 14:42:41 -0200 Subject: Ignore symlinks so sites are updated just once, enhanced version --- templates/drupal.sh.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb index 74a670a..b966f93 100644 --- a/templates/drupal.sh.erb +++ b/templates/drupal.sh.erb @@ -55,7 +55,7 @@ function drupal_update { # Issue updates for drupal in $drupals; do # Ignore symlinks so sites are updated just once - if [ ! -h "$drupal" ]; then + if [ ! -h "$drupal" ] || [ ! -h "`readlink $drupal`" ]; then echo "Processing $drupal..." drush -l $drupal update fi -- cgit v1.2.3