summaryrefslogtreecommitdiff
path: root/jh-checksource.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jh-checksource.sh')
-rw-r--r--jh-checksource.sh8
1 files 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)