aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/drupal.sh.erb5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb
index 77bc472..ae5b12c 100644
--- a/templates/drupal.sh.erb
+++ b/templates/drupal.sh.erb
@@ -352,6 +352,11 @@ elif [ "$1" == "deploy" ]; then
drupal_deploy $*
elif [ "$1" == "update" ]; then
shift
+ # Clear cache an run cron to refresh update list
+ drupal_iterate cc all $*
+ drupal_iterate cron
+
+ # Issue updates
drupal_iterate pm-update $*
# Update alone might not trigger updatedb in a farm for all instances.