From: Silvio Rhatto Date: Tue, 26 Jun 2012 16:04:34 +0000 (-0300) Subject: Setup site folders with .onion sites in the end of the list at drupal script X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=519decfb6a8d86c8070d17c4cf59784ab4fe598a;p=puppet-drupal.git Setup site folders with .onion sites in the end of the list at drupal script --- diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb index f985289..826b0e0 100644 --- a/templates/drupal.sh.erb +++ b/templates/drupal.sh.erb @@ -58,9 +58,10 @@ function drupal_iterate { continue fi - # Setup site folders + # Setup site folders with .onion sites in the end of the list cd $base/sites - drupals="`ls -I default -I all -I example.sites.php`" + drupals="`ls -I default -I all -I example.sites.php -I '*.onion'`" + drupals="$drupals `ls -1 | grep '.onion$' | xargs`" # Issue updates for drupal in $drupals; do