- Timestamp:
- 2013-11-19T11:12:03+13:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/ArchivesInfPlugin.pm
r28563 r28638 270 270 my $curr_mode = $processor->get_mode(); 271 271 my $new_mode = $curr_mode; 272 my $group_position = $archive_info->get_group_position($doc_oid); 272 273 273 274 # Start by assuming we want to process the file... 274 275 my $process_file = 1; 275 276 277 # ... unless we have processed files into a group doc.xml, in which case we only process the xml for the first one 278 if (defined $group_position && $group_position >1) { 279 $process_file = 0; 280 } 276 281 # ...unless the build processor is incremental capable and -incremental was specified, in which case we need to check its index_status flag 277 if ($processor->is_incremental_capable() && $self->{'incremental'})282 elsif ($processor->is_incremental_capable() && $self->{'incremental'}) 278 283 { 279 284 # Check to see if the file needs indexing
Note:
See TracChangeset
for help on using the changeset viewer.