Changeset 747


Ignore:
Timestamp:
Jul 29, 2010, 11:40:47 AM (10 years ago)
Author:
duh
Message:

improved plugin de-installation process

File:
1 edited

Legend:

Unmodified
Added
Removed
  • misc/scripts/gscf_continuous_integration.sh

    r744 r747  
    134134
    135135# uninstall development plugins
    136 echo $STAMP uninstalling db-util plugin
    137 grails uninstall-plugin db-util > /dev/null
    138 echo $STAMP uninstalling nadd-neutralizer plugin
    139 grails uninstall-plugin nadd-neutralizer > /dev/null
     136if [ `ls -1 ~/.grails/$GRAILS_VERSION/projects/gscf/plugins/db-util* |wc -l` -gt 0 ]; then
     137        echo $STAMP uninstalling db-util plugin
     138        grails uninstall-plugin db-util > /dev/null
     139fi
     140if [ `ls -1 ~/.grails/$GRAILS_VERSION/projects/gscf/plugins/nadd-neutralizer* |wc -l` -gt 0 ]; then
     141        echo $STAMP uninstalling nadd-neutralizer plugin
     142        grails uninstall-plugin nadd-neutralizer > /dev/null
     143fo
    140144
    141145# patch index page to contain revision information
Note: See TracChangeset for help on using the changeset viewer.