Project

General

Profile

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

root / bin / d7-all-releases-info.sh @ 73a967a6

1
#!/bin/sh
2

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

    
5
# List version of a module or theme that exists in sites/all/*
6
# and all versions that are available for same project on drupal.org
7

    
8
# modules
9
cd "${d7_dir_sites}/all/modules"
10
for dir in $(ls -1) ; do
11
    if [ -d "${dir}" ] ; then
12
        drush pm-releases "${dir}"
13
    fi
14
done
15

    
16
# themes
17
cd "${d7_dir_sites}/all/themes"
18
for dir in $(ls -1) ; do
19
    if [ -d "${dir}" ] ; then
20
        drush pm-releases "${dir}"
21
    fi
22
done