Changeset 32292 for main/trunk

Show
Ignore:
Timestamp:
19.07.2018 21:02:22 (15 months ago)
Author:
ak19
Message:

Making PDFv2Plugin the default plugin for PDFs when running mkcol.pl in GS3. This would break for GS2 unless pdf-box is installed, but the default plugin for PDFs in the plugin pipeline mkcol sets up for GS2 is now PDFv1Plugin. That means GS2 users will have to consciously choose to add PDFv2Plugin to their pipeline (and remove v1) after setting up the pdfbox extension for GS2.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/bin/script/mkcol.pl

    r24414 r32292  
    353353    # load default plugins if none were on command line 
    354354    if (!scalar(@plugin)) { 
     355    my $pdfplugin = ($gs3mode || $site) ? "PDFv2Plugin" : "PDFv1Plugin"; 
    355356    @plugin = (ZIPPlugin,GreenstoneXMLPlugin,TextPlugin,HTMLPlugin,EmailPlugin, 
    356            PDFPlugin,RTFPlugin,WordPlugin,PostScriptPlugin,PowerPointPlugin,ExcelPlugin,ImagePlugin,ISISPlugin,NulPlugin,EmbeddedMetadataPlugin,MetadataXMLPlugin,ArchivesInfPlugin,DirectoryPlugin); 
     357           $pdfplugin,RTFPlugin,WordPlugin,PostScriptPlugin,PowerPointPlugin,ExcelPlugin,ImagePlugin,ISISPlugin,NulPlugin,EmbeddedMetadataPlugin,MetadataXMLPlugin,ArchivesInfPlugin,DirectoryPlugin); 
    357358    } 
    358359