Changeset 98 for trunk/gsdl/bin/script
- Timestamp:
- 1999-01-06T14:22:01+13:00 (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/import.pl
r91 r98 37 37 38 38 # 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") { 41 41 $collectcfg = &colcfg::read_collect_cfg ("$ENV{'GSDLHOME'}/collect/$collection/etc/collect.cfg"); 42 42 if (defined $collectcfg->{'plugins'}) { 43 43 @plugins = @{$collectcfg->{'plugins'}}; 44 44 } 45 } else { 46 print STDERR "WARNING - couldn't find collection configuration file\n"; 47 print STDERR " using default plugins\n"; 45 48 } 46 49
Note:
See TracChangeset
for help on using the changeset viewer.