Changeset 23168


Ignore:
Timestamp:
2010-10-19T14:51:37+13:00 (11 years ago)
Author:
kjdon
Message:

if infodbtype is gdbm-txtgz, we need to use gdbm for all archives dbs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/incremental-import.pl

    r23052 r23168  
    118118    # get the database type for this collection from its configuration file (may be undefined)
    119119    my $infodbtype = $collect_cfg->{'infodbtype'} || &dbutil::get_default_infodb_type();
    120 
     120    $infodbtype = "gdbm" if $infodbtype eq "gdbm-txtgz";
    121121    my $archiveinf_doc_file_path = &dbutil::get_infodb_file_path($infodbtype, "archiveinf-doc", $archive_dir);
    122122
Note: See TracChangeset for help on using the changeset viewer.