From 3aaa02dbd7a9ec5aad66bb12d639004b8f01f451 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 26 Jul 2014 16:51:15 -0400 Subject: checksource: more types --- jh-checksource.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/jh-checksource.sh b/jh-checksource.sh index 5296226..4aa932a 100644 --- a/jh-checksource.sh +++ b/jh-checksource.sh @@ -7,8 +7,12 @@ # Regular expressions are POSIX EREs, and must match the entirety of the string safe_dirs_glob=(.{git,hg,svn} '*.git') -safe_types_regexp=('(inode|text|image|video|audio)/.*' 'application/(pdf|postscript|xml|ogg)' message/rfc822) -safe_files_regexp=('.*/po/[^/]*.gmo' '.*\.(flw|odg|ppt)') +safe_types_regexp=( + '(inode|text|image|video|audio)/.*' + 'application/(pdf|postscript|xml|ogg|x-java-keystore)' + 'application/vnd\.ms-(office|powerpoint)' +) +safe_files_regexp=('.*/po/[^/]*.gmo' '.*\.(flw|odg)') safe_files_string=() # don't care about files less than 3 bytes ('c' is for characters) -- cgit v1.2.3