]> gitweb.fluxo.info Git - puppet-drupal.git/commitdiff
Filtering Array() output att cron-update
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 27 Sep 2012 18:38:56 +0000 (15:38 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 27 Sep 2012 18:38:56 +0000 (15:38 -0300)
templates/drupal.sh.erb

index d67bfd6eb433433201f5fb56c97e3bb3cc4146b5..7b31ab47b2800e09e759e36fc34317f979b2ed60 100644 (file)
@@ -366,7 +366,7 @@ elif [ "$1" == "cron" ]; then
   drupal_iterate cron
 elif [ "$1" == "cron-update" ]; then
   SILENT="yes"
-  drupal_iterate update -y -p | grep -v -E 'Unknown|Up-to-date|Atualizado|Desconhecido'
+  drupal_iterate update -y -p | grep -v -E 'Unknown|Up-to-date|Atualizado|Desconhecido|^Array$|^\($|^\)$'
 elif [ "$1" == "deploy" ]; then
   shift
   drupal_deploy $*