summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2019-03-17 14:02:32 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2019-03-17 14:03:00 -0400
commitcfceb6e2adafbaa8e1022a7eabc08ae1ab5658c6 (patch)
treeff54c0ebfe8eb150c69325d4dcfdc90c2de0cb89
parent3aaa02dbd7a9ec5aad66bb12d639004b8f01f451 (diff)
checksource: Allow 'application/json'
-rw-r--r--jh-checksource.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/jh-checksource.sh b/jh-checksource.sh
index 4aa932a..a878265 100644
--- a/jh-checksource.sh
+++ b/jh-checksource.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-# Copyright © 2013-2014 Luke Shumaker <lukeshu@sbcglobal.net>
+# Copyright © 2013-2014, 2019 Luke Shumaker <lukeshu@sbcglobal.net>
# This work is free. You can redistribute it and/or modify it under the
# terms of the Do What The Fuck You Want To Public License, Version 2,
# as published by Sam Hocevar. See the COPYING file for more details.
@@ -9,7 +9,7 @@
safe_dirs_glob=(.{git,hg,svn} '*.git')
safe_types_regexp=(
'(inode|text|image|video|audio)/.*'
- 'application/(pdf|postscript|xml|ogg|x-java-keystore)'
+ 'application/(json|pdf|postscript|xml|ogg|x-java-keystore)'
'application/vnd\.ms-(office|powerpoint)'
)
safe_files_regexp=('.*/po/[^/]*.gmo' '.*\.(flw|odg)')