[Reproducible-commits] [strip-nondeterminism] 01/01: Fixup 520d9d1: Add support for epub files

Holger Levsen holger at layer-acht.org
Sun May 29 10:13:19 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository strip-nondeterminism.

commit c6a5ed621dd76ebe4c10205678d7407e7d0f86a8
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun May 29 12:13:03 2016 +0200

    Fixup 520d9d1: Add support for epub files
---
 lib/File/StripNondeterminism.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/File/StripNondeterminism.pm b/lib/File/StripNondeterminism.pm
index 6122a2d..95d56f3 100644
--- a/lib/File/StripNondeterminism.pm
+++ b/lib/File/StripNondeterminism.pm
@@ -83,7 +83,7 @@ sub get_normalizer_for_file {
 		return \&File::StripNondeterminism::handlers::javaproperties::normalize;
 	}
 	# zip
-	if (m/\.(zip|pk3|epub|whl|xpi|htb)$/ && _get_file_type($_) =~ m/Zip archive data/) {
+	if (m/\.(zip|pk3|epub|whl|xpi|htb)$/ && _get_file_type($_) =~ m/Zip archive data|EPUB document/) {
 		return \&File::StripNondeterminism::handlers::zip::normalize;
 	}
 	return undef;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/strip-nondeterminism.git



More information about the Reproducible-commits mailing list