diff options
-rw-r--r-- | templates/drupal.sh.erb | 5 |
1 files changed, 3 insertions, 2 deletions
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 |