diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2009-12-30 14:42:41 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2009-12-30 14:42:41 -0200 |
commit | 70d738783e00ed1f3338fa33b99b1bfde2b3c949 (patch) | |
tree | 813fe450b5b0bf70f4e12587b97318bb3cf2bfbb | |
parent | 69dd03f5b9b8dbcc9fa707ee06634f79a919b59c (diff) | |
download | puppet-drupal-70d738783e00ed1f3338fa33b99b1bfde2b3c949.tar.gz puppet-drupal-70d738783e00ed1f3338fa33b99b1bfde2b3c949.tar.bz2 |
Ignore symlinks so sites are updated just once, enhanced version
-rw-r--r-- | templates/drupal.sh.erb | 2 |
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 |