Changeset 23309


Ignore:
Timestamp:
2010-11-10T15:28:48+13:00 (11 years ago)
Author:
kjdon
Message:

we need to modify some of the import options depending on whether we are in depositor (always uses manifest) or collector (sometimes cfg file has changed, in which case we need to do a full import)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/recpt/wizardaction.cpp

    r23044 r23309  
    536536  if (args[macro_prefix+"esrce"] == 1) {
    537537    // we're adding data to an existing collection
    538     options += " -save_archives -append -manifest";
     538    options += " -save_archives";
     539    if (args[macro_prefix+"cfgchanged"] !=1) { // collector, have modified cfg file as well, so need to do a full reimport.
     540      options += " -append";
     541    }
     542    if (macro_prefix == "di1") { // depositor, always use manifest
     543    options += " -manifest";
     544    }
     545   
    539546  }
    540547
Note: See TracChangeset for help on using the changeset viewer.