diff options
| -rw-r--r-- | templates/drupal.sh.erb | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb index 83a4fe8..046c58c 100644 --- a/templates/drupal.sh.erb +++ b/templates/drupal.sh.erb @@ -83,7 +83,7 @@ function drupal_iterate {              echo "Processing $drupal..."            fi -          if [ "$1" == "update" ] && [ "$1" == "cron-update" ]; then +          if [ "$1" == "update" ] || [ "$1" == "cron-update" ]; then              drupal_update $1 $drupal            else              drush -l $drupal $* @@ -405,14 +405,14 @@ elif [ "$1" == "cron" ]; then  elif [ "$1" == "cron-update" ]; then    SILENT="yes"    drupal_iterate pm-refresh &> /dev/null -  drupal_iterate pm-update +  drupal_iterate cron-update  elif [ "$1" == "deploy" ]; then    shift    drupal_deploy $*  elif [ "$1" == "update" ]; then    shift    drupal_iterate pm-refresh -  drupal_iterate pm-update $* +  drupal_iterate update $*    # Update alone might not trigger updatedb in a farm for all instances.    drupal_iterate updatedb $*  | 
