Projet

Général

Profil

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

root / bin / d7-all-releases-info.sh @ 47a400e2

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 653aeb8e Julien Enselme
cd "${d7_dir_all_modules}"
10 8550e097 Julien Enselme
for dir in $(ls -1) ; do
11 3e9236bd Julien Enselme
    if [ -d "${dir}" ] ; then
12
        drush pm-releases "${dir}"
13 d52a5b2f jenselme
    fi
14
done
15
16
# themes
17 653aeb8e Julien Enselme
cd "${d7_dir_all_themes}"
18 8550e097 Julien Enselme
for dir in $(ls -1) ; do
19 3e9236bd Julien Enselme
    if [ -d "${dir}" ] ; then
20
        drush pm-releases "${dir}"
21 d52a5b2f jenselme
    fi
22
done