Projet

Général

Profil

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

root / other-scripts / D6-to-D7 / prepare-expat-d6.sh @ a5572547

1
#!/bin/bash
2

    
3
cd /var/www/expat
4

    
5
drush cc all
6

    
7
# We uninstall the good modules in drupal 6
8
modules2uninstall=(mapbox contemplate openlayers_ui openlayers_views openlayers flowplayer flowplayer3 wijering wijering4 swftools geotaxonomy views_export views_cloud content_profile_registration content_profile fivestar_comment)
9

    
10
for i in ${!modules2uninstall[*]} ; do
11
    drush -y dis ${modules2uninstall[$i]}
12
    drush -y pm-uninstall ${modules2uninstall[$i]}
13
done
14

    
15

    
16
cd /var/www/expatd7
17

    
18
# We install the good module in drupal 7
19
modules2install=(module_filter token addthis blog cas comment_notify imce lightbox2 masquerade pathauto ctools contact ckeditor views views_ui fivestar media)
20

    
21
for i in ${!modules2install[*]} ; do
22
    drush -n dl ${modules2install[$i]}
23
    drush -y en ${modules2install[$i]}
24
done
25

    
26
#modules2install_assos=(addthis lightbox2 votingapi fivestar)