Changeset 1812


Ignore:
Timestamp:
2000-12-19T16:52:58+13:00 (23 years ago)
Author:
sjboddie
Message:

ZIPPlug is now disabled under windows

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/ZIPPlug.pm

    r1754 r1812  
    4141# tar (for tar)
    4242
     43# ZIPPlug is currently disabled on windows as we can't expect any of the
     44# above utilities to be present on that OS. We should probably provide
     45# binaries with Greenstone some day.
     46
    4347package ZIPPlug;
    4448
     
    7478    my ($pluginfo, $base_dir, $file, $metadata, $processor, $maxdocs) = @_;
    7579    my $outhandle = $self->{'outhandle'};
     80
     81    # disabled on windows
     82    return undef if ($ENV{'GSDLOS'} =~ /^windows$/i);
    7683
    7784    if ($file =~ /\.(gz|tgz|z|taz|bz|zip|jar|tar)$/i) {
Note: See TracChangeset for help on using the changeset viewer.