From 994b67ef36e7a89990cc3f32f4f5a13c93d64bd6 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 7 Dec 2011 11:36:23 -0200 Subject: Clear cache an run cron to refresh update list --- templates/drupal.sh.erb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'templates/drupal.sh.erb') 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. -- cgit v1.2.3