diff options
author | Joey Hess <joey@kitenet.net> | 2010-08-09 13:18:59 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-08-09 13:18:59 -0400 |
commit | 51d5e546974405741e08ed27d0bf89958fa7366b (patch) | |
tree | 3279cd32767510034bfd8d2964f80b3b966a9d88 /doc/plugins | |
parent | 74d975ff4d883b7c2ed4e0517b6665abd2cfe6cc (diff) |
filecheck: Fall back to using the file command if the freedesktop magic file cannot identify a file.
Diffstat (limited to 'doc/plugins')
-rw-r--r-- | doc/plugins/filecheck.mdwn | 3 |
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` |