aboutsummaryrefslogtreecommitdiff
path: root/templates/drupal.sh.erb
diff options
context:
space:
mode:
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 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