Ignore:
Timestamp:
2012-04-30T20:23:53+12:00 (12 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.

File:
1 edited

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) {
Note: See TracChangeset for help on using the changeset viewer.