Changeset 98 for trunk/gsdl/bin/script


Ignore:
Timestamp:
1999-01-06T14:22:01+13:00 (25 years ago)
Author:
rjmcnab
Message:

Switched doc.pl over to use unicode. Changed the importing software to create
a shallower directory structure. Added subject headings to FBPlug. Changed
bylw's indexes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/bin/script/import.pl

    r91 r98  
    3737   
    3838    # get the list of plugins for this collection
    39     @plugins = ("RecPlug", "HTMLPlug", "TXTPlug");
    40     if (-e "$ENV{'GSDLHOME'}/collect/$collection/collect.cfg") {
     39    @plugins = ("HTMLPlug", "TXTPlug", "RecPlug");
     40    if (-e "$ENV{'GSDLHOME'}/collect/$collection/etc/collect.cfg") {
    4141    $collectcfg = &colcfg::read_collect_cfg ("$ENV{'GSDLHOME'}/collect/$collection/etc/collect.cfg");
    4242    if (defined $collectcfg->{'plugins'}) {
    4343        @plugins = @{$collectcfg->{'plugins'}};
    4444    }
     45    } else {
     46    print STDERR "WARNING - couldn't find collection configuration file\n";
     47    print STDERR "          using default plugins\n";
    4548    }
    4649   
Note: See TracChangeset for help on using the changeset viewer.