Ignore:
Timestamp:
2012-05-25T17:35:53+12:00 (12 years ago)
Author:
ak19
Message:

colcfg.pm tests for collectionConfig before testing for collect.cfg to work out the Greenstone version being used (GS2 or GS3). This change was necessary when activating collections that have been converted from GS2 to GS3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/activate.pl

    r25676 r25677  
    516516    }
    517517   
    518     # gs_mode is set to gs2 if there's a collect.cfg and regardless of whether there's a collectionConfig.xml
    519     # (this happens especially when a GS2 collection is being converted to GS3).
    520     # override this behaviour here, by looking for whether a site variable was passed in
    521     if(defined $site && $gs_mode eq "gs2") {
    522     $gs_mode="gs3";
    523     }   
    524 
    525518    # Now the logic in GLI's CollectionManager.java (processComplete()
    526519    # and installCollection()) and Gatherer.configGS3Server().
Note: See TracChangeset for help on using the changeset viewer.