Projet

Général

Profil

Paste
Télécharger (252 octets) Statistiques
| Branche: | Révision:

root / bin / d7-all-usage.sh @ 653aeb8e

1 7a3ea9a7 Florent Torregrosa
#!/bin/sh
2
3 06e9d071 Assos Assos
. /home/assos/bin/scripts-config.sh
4 7a3ea9a7 Florent Torregrosa
5
# For each modules and themes, list and count how much sites use its.
6
7 3e9236bd Julien Enselme
cd "${d7_dir_sites}"
8 7a3ea9a7 Florent Torregrosa
9 8550e097 Julien Enselme
for line in $(drush pml --no-core --pipe); do
10 15ed27d8 Julien Enselme
    usage.sh -v d7 -s enabled -n "${line}"
11 31466801 Florent Torregrosa
    echo -e "\n"
12 06e9d071 Assos Assos
done