root / bin / d7-all-usage.sh @ 3e9236bd
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 | 3e9236bd | Julien Enselme | for line in "$(drush pml --no-core --pipe)"; do |
10 | usage.sh d7 enabled "${line}" |
||
11 | 31466801 | Florent Torregrosa | echo -e "\n" |
12 | 06e9d071 | Assos Assos | done |