[Reproducible-commits] [strip-nondeterminism] 01/01: Use Zip handler also for .xpi files

Reiner Herrmann deki-guest at moszumanska.debian.org
Sun Jan 25 15:16:44 UTC 2015


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

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

commit 4e25a1573dbf9f478644e1461e93df62acf932f8
Author: Reiner Herrmann <reiner at reiner-h.de>
Date:   Sun Jan 25 16:12:05 2015 +0100

    Use Zip handler also for .xpi 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 e6dd1ab..492e189 100644
--- a/lib/File/StripNondeterminism.pm
+++ b/lib/File/StripNondeterminism.pm
@@ -73,7 +73,7 @@ sub get_normalizer_for_file {
 		return \&File::StripNondeterminism::handlers::pomproperties::normalize;
 	}
 	# zip
-	if (m/\.(zip|pk3|whl)$/ && _get_file_type($_) =~ m/Zip archive data/) {
+	if (m/\.(zip|pk3|whl|xpi)$/ && _get_file_type($_) =~ m/Zip archive data/) {
 		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