aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/filecheck.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-08-09 13:18:59 -0400
committerJoey Hess <joey@kitenet.net>2010-08-09 13:18:59 -0400
commit51d5e546974405741e08ed27d0bf89958fa7366b (patch)
tree3279cd32767510034bfd8d2964f80b3b966a9d88 /doc/plugins/filecheck.mdwn
parent74d975ff4d883b7c2ed4e0517b6665abd2cfe6cc (diff)
downloadikiwiki-51d5e546974405741e08ed27d0bf89958fa7366b.tar
ikiwiki-51d5e546974405741e08ed27d0bf89958fa7366b.tar.gz
filecheck: Fall back to using the file command if the freedesktop magic file cannot identify a file.
Diffstat (limited to 'doc/plugins/filecheck.mdwn')
-rw-r--r--doc/plugins/filecheck.mdwn3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/plugins/filecheck.mdwn b/doc/plugins/filecheck.mdwn
index e5f68b29c..b038bc433 100644
--- a/doc/plugins/filecheck.mdwn
+++ b/doc/plugins/filecheck.mdwn
@@ -7,7 +7,8 @@ status. These tests are mostly useful for the [[attachment]] plugin, and
are documented [[here|ikiwiki/pagespec/attachment]].
This plugin will use the [[!cpan File::MimeInfo::Magic]] perl module, if
-available, for mimetype checking.
+available, for mimetype checking. It falls back to using the `file` command
+if necessary for hard to detect files.
The `virusfree` [[PageSpec|ikiwiki/pagespec/attachment]] requires that
ikiwiki be configured with a virus scanner program via the `virus_checker`