]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/filecheck.pm
Merge branch 'master' of ssh://git.ikiwiki.info/srv/git/ikiwiki.info
[git.ikiwiki.info.git] / IkiWiki / Plugin / filecheck.pm
index 1549b82db75a9d5164c04b166a3d6d149bdb01dc..d00b6dfd3e0445fe243502929cfa92589e15a77c 100644 (file)
@@ -39,6 +39,19 @@ my %units=(          # size in bytes
        #   -- Joey
 );
 
+sub import {
+       hook(type => "getsetup", id => "filecheck",  call => \&getsetup);
+}
+
+sub getsetup () {
+       return
+               plugin => {
+                       safe => 1,
+                       rebuild => undef,
+                       section => "misc",
+               },
+}
+
 sub parsesize ($) {
        my $size=shift;