From 519decfb6a8d86c8070d17c4cf59784ab4fe598a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 26 Jun 2012 13:04:34 -0300 Subject: Setup site folders with .onion sites in the end of the list at drupal script --- templates/drupal.sh.erb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'templates/drupal.sh.erb') 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 -- cgit v1.2.3