Changeset 1754
- Timestamp:
- 2000-12-07T11:44:54+13:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/ZIPPlug.pm
r1503 r1754 30 30 # gzip (.gz, .z, .tgz, .taz) 31 31 # bzip (.bz) 32 # zip (.zip )32 # zip (.zip .jar) 33 33 # tar (.tar) 34 34 # … … 75 75 my $outhandle = $self->{'outhandle'}; 76 76 77 if ($file =~ /\.(gz|tgz|z|taz|bz|zip| tar)$/i) {77 if ($file =~ /\.(gz|tgz|z|taz|bz|zip|jar|tar)$/i) { 78 78 79 79 my $filename = &util::filename_cat ($base_dir, $file); … … 96 96 if ($file =~ /\.bz$/i) { 97 97 $self->bunzip ($file_only); 98 } elsif ($file =~ /\. zip$/i) {98 } elsif ($file =~ /\.(zip|jar)$/i) { 99 99 $self->unzip ($file_only); 100 100 } elsif ($file =~ /\.tar$/i) {
Note:
See TracChangeset
for help on using the changeset viewer.