unless ($has_pod)
{
- warn "no documentation in $mod\n" unless $opts{silent};
+ print "no documentation in $mod\n" if $opts{verbose};
next;
}
print " $xmanpage\n" unless $opts{silent};
if (!$opts{notify} && $parser->parse_from_file($mod, $tmp)) {
if (-s $tmp) {
+ # We've already emitted a progress message for this file, if
+ # needed, so ensure safe_rename() doesn't emit another one.
+ local $opts{silent} = 1;
if (safe_rename($tmp, $manpage)) {
$packlist->{$xmanpage} = { type => 'file' };
next;
$packlist->write() unless $opts{notify};
print " Installation complete\n" if $opts{verbose};
-# Local variables:
-# cperl-indent-level: 4
-# indent-tabs-mode: nil
-# End:
-#
# ex: set ts=8 sts=4 sw=4 et: