Projet

Général

Profil

Révision a14d4cd9

Ajouté par Julien Enselme il y a environ 9 ans

Use default to list all modules

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

Voir les différences:

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

Formats disponibles : Unified diff