Project

General

Profile

Revision a14d4cd9

Added by Julien Enselme almost 9 years ago

Use default to list all modules

We were using drush in ~assos without an alias so the script could not work.

View differences:

bin/d7-all-usage.sh
4 4

  
5 5
# For each modules and themes, list and count how much sites use its.
6 6

  
7
for line in $(drush pml --no-core --pipe); do
7
for line in $(drush @default pml --no-core --pipe); do
8 8
    usage.sh -v d7 -s enabled -n "${line}"
9 9
    echo -e "\n"
10 10
done

Also available in: Unified diff