diff options
author | Joey Hess <joey@kitenet.net> | 2012-11-04 12:02:26 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-11-04 12:02:26 -0400 |
commit | 286026877d9e7d520cab5fde173585903b0d32a9 (patch) | |
tree | 5c04e00ccec8fa4e1e4a737a166958a0c4408436 /IkiWiki | |
parent | 3b120dd7677e0197aff9e0f73fe43427d3cc1f9c (diff) | |
download | ikiwiki-286026877d9e7d520cab5fde173585903b0d32a9.tar ikiwiki-286026877d9e7d520cab5fde173585903b0d32a9.tar.gz |
filecheck: Fix bug that prevented File::MimeInfo::Magic from ever being used.
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/filecheck.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/filecheck.pm b/IkiWiki/Plugin/filecheck.pm index 9992f2c26..cdea5c706 100644 --- a/IkiWiki/Plugin/filecheck.pm +++ b/IkiWiki/Plugin/filecheck.pm @@ -139,7 +139,7 @@ sub match_mimetype ($$;@) { my $mimeinfo_ok=! $@; my $mimetype; if ($mimeinfo_ok) { - my $mimetype=File::MimeInfo::Magic::magic($file); + $mimetype=File::MimeInfo::Magic::magic($file); } # Fall back to using file, which has a more complete |