diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-09-27 15:38:56 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-09-27 15:38:56 -0300 |
commit | faf713378fdb98d3d04da9fa16ebd09d9be30438 (patch) | |
tree | 311300bad67c2bbf10a9acc19f369a058a8c5231 | |
parent | 73e9fe40dcdc2f8a3dd3f760d3c2e5e16b3ab740 (diff) | |
download | puppet-drupal-faf713378fdb98d3d04da9fa16ebd09d9be30438.tar.gz puppet-drupal-faf713378fdb98d3d04da9fa16ebd09d9be30438.tar.bz2 |
Filtering Array() output att cron-update
-rw-r--r-- | templates/drupal.sh.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb index d67bfd6..7b31ab4 100644 --- a/templates/drupal.sh.erb +++ b/templates/drupal.sh.erb @@ -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 $* |