Changeset 25508

Show
Ignore:
Timestamp:
30.04.2012 20:23:53 (7 years ago)
Author:
ak19
Message:

Since epub files are zip files with a differently named extension, only unzip and not gunzip is able to decompress it.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/ZIPPlugin.pm

    r23280 r25508  
    146146    } elsif ($file =~ /\.bz2$/i) { 
    147147    $self->bunzip2 ($filename_no_path); 
    148     } elsif ($file =~ /\.(zip|jar)$/i) { 
     148    } elsif ($file =~ /\.(zip|jar|epub)$/i) { 
    149149    $self->unzip ($filename_no_path); 
    150150    } elsif ($file =~ /\.tar$/i) {