root / bin / d7-all-usage.sh @ d0e0fe33
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 | cd $d7_dir_sites |
||
8 | |||
9 | cd78d688 | Florent Torregrosa | for line in $(drush pml --no-core --pipe); do |
10 | 7a3ea9a7 | Florent Torregrosa | usage.sh d7 enabled "$line" |
11 | 31466801 | Florent Torregrosa | echo -e "\n" |
12 | 06e9d071 | Assos Assos | done |