diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/drupal.sh.erb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb index 826b0e0..62c9aef 100644 --- a/templates/drupal.sh.erb +++ b/templates/drupal.sh.erb @@ -59,8 +59,9 @@ function drupal_iterate { fi # Setup site folders with .onion sites in the end of the list + # and ignoring site names without dots cd $base/sites - drupals="`ls -I default -I all -I example.sites.php -I '*.onion'`" + drupals="`ls -1 -I default -I all -I example.sites.php -I '*.onion' | grep "\." | xargs`" drupals="$drupals `ls -1 | grep '.onion$' | xargs`" # Issue updates |