]> gitweb.fluxo.info Git - puppet-drupal.git/commitdiff
Fixing parameter order for pm-update
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 15 Nov 2012 13:14:40 +0000 (11:14 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 15 Nov 2012 13:14:40 +0000 (11:14 -0200)
templates/drupal.sh.erb

index dfb54f5383514530479f9058bec156e5287114a0..84843b8a53d5a3a7ca2000821a8ce3090c147f01 100644 (file)
@@ -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 $*