root / bin / d7-all-usage.sh @ 31466801
1 |
#!/bin/sh |
---|---|
2 |
|
3 |
. /users/guest/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 |
drush pml --no-core --pipe > $dir_tmp/pml.txt |
10 |
|
11 |
for line in $(cat $dir_tmp/pml.txt); do |
12 |
usage.sh d7 enabled "$line" |
13 |
echo -e "\n" |
14 |
done |
15 |
|
16 |
rm $dir_tmp/pml.txt |