X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/3d6bc6e1b7145d85cd9495fd0a0d0a6823869368..4a7189965f2831e0c841182902ecae3e53f4af5f:/IkiWiki/Plugin/rsync.pm diff --git a/IkiWiki/Plugin/rsync.pm b/IkiWiki/Plugin/rsync.pm index 630469528..3f049457b 100644 --- a/IkiWiki/Plugin/rsync.pm +++ b/IkiWiki/Plugin/rsync.pm @@ -2,7 +2,6 @@ package IkiWiki::Plugin::rsync; use warnings; -no warnings 'redefine'; use strict; use IkiWiki 3.00; @@ -21,7 +20,7 @@ sub getsetup () { rsync_command => { type => "string", example => "rsync -qa --delete /path/to/destdir/ user\@host:/path/to/docroot/", - description => "command to upload regenerated pages to another host", + description => "unattended command to upload regenerated pages", safe => 0, rebuild => 0, }, @@ -35,7 +34,6 @@ sub checkconfig { } sub postrefresh () { - debug "in postrefresh hook, gonna run rsync"; system $config{rsync_command}; if ($? == -1) { error("failed to execute rsync_command: $!");