Changeset 18528 for gsdl/trunk/bin/script/import.pl
- Timestamp:
- 2009-02-17T15:36:44+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/bin/script/import.pl
r18507 r18528 197 197 'desc' => "{import.OIDmetadata}", 198 198 'type' => "metadata", 199 'deft' => "dc.Identifier", 199 # parsearg left "" as default 200 #'deft' => "dc.Identifier", 200 201 'reqd' => "no", 201 202 'modegli' => "2" }, … … 440 441 } 441 442 443 if ((!defined $OIDmetadata) || ($OIDmetadata eq "")) { 444 if (defined $collectcfg->{'OIDmetadata'}) { 445 $OIDmetadata = $collectcfg->{'OIDmetadata'}; 446 } else { 447 $OIDmetadata = "dc.Identifier"; # the default 448 } 449 } 450 442 451 if (defined $collectcfg->{'sortmeta'} && (!defined $sortmeta || $sortmeta eq "")) { 443 452 $sortmeta = $collectcfg->{'sortmeta'}; … … 575 584 576 585 if (!$removeold) { 586 587 &inexport::prime_doc_oid_count($archivedir); 588 589 577 590 # Can now work out which files were new, already existed, and have 578 591 # been deleted … … 620 633 &plugin::deinit($pluginfo, $processor); 621 634 635 # Store the value of OIDCount (used in doc.pm) so it can be 636 # restored correctly to this value on an incremental build 637 &inexport::store_doc_oid_count($archivedir); 638 622 639 # write out the archive information file 623 640 $processor->close_file_output() if $groupsize > 1;
Note:
See TracChangeset
for help on using the changeset viewer.