Project

General

Profile

Paste
Download (252 Bytes) Statistics
| Branch: | Revision:

root / bin / d7-all-usage.sh @ a629a580

1
#!/bin/sh
2

    
3
. /home/assos/bin/scripts-config.sh
4

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

    
7
cd "${d7_dir_sites}"
8

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