aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-11-15 11:14:40 -0200
committerSilvio Rhatto <rhatto@riseup.net>2012-11-15 11:14:40 -0200
commit09ac0e2a87d71451b8ffac41cd072f3cfb19c2e3 (patch)
treed904d5d6d1528510b6c4d8d4f948e4674b9a2a17
parente0cbb88237c592546f2be50f37c1c9f385ba29c2 (diff)
downloadpuppet-drupal-09ac0e2a87d71451b8ffac41cd072f3cfb19c2e3.tar.gz
puppet-drupal-09ac0e2a87d71451b8ffac41cd072f3cfb19c2e3.tar.bz2
Fixing parameter order for pm-update
-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 dfb54f5..84843b8 100644
--- a/templates/drupal.sh.erb
+++ b/templates/drupal.sh.erb
@@ -375,7 +375,7 @@ elif [ "$1" == "cron" ]; then
elif [ "$1" == "cron-update" ]; then
SILENT="yes"
drupal_iterate pm-refresh &> /dev/null
- drupal_iterate -y -p pm-update | grep -v -E 'Unknown|Up-to-date|Atualizado|Desconhecido|^Array$|^\($|^\)$|OK'
+ drupal_iterate pm-update -y -p | grep -v -E 'Unknown|Up-to-date|Atualizado|Desconhecido|^Array$|^\($|^\)$|OK'
elif [ "$1" == "deploy" ]; then
shift
drupal_deploy $*