Projet

Général

Profil

Paste
Télécharger (446 octets) Statistiques
| Branche: | Révision:

root / bin / d7-all-releases-info.sh @ f4462ddf

1 d52a5b2f jenselme
#!/bin/sh
2
3 06e9d071 Assos Assos
. /home/assos/bin/scripts-config.sh
4 d52a5b2f jenselme
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 683f57f9 Julien Enselme
for dir in $(ls -1) ; do
11 d52a5b2f jenselme
    if [ -d $dir ] ; then
12
        drush pm-releases $dir
13
    fi
14
done
15
16
# themes
17
cd $d7_dir_sites/all/themes
18 683f57f9 Julien Enselme
for dir in $(ls -1) ; do
19 d52a5b2f jenselme
    if [ -d $dir ] ; then
20
        drush pm-releases $dir
21
    fi
22
done