X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;f=mkgallery.pl;h=822cd49845d1f900e40ef0c54d0911df1cdfc936;hb=209d7c5f7d7f94d9d8e95ac3ad58f4f135071f91;hp=452d5da27f5520d55bc430cc09483595b2e1c524;hpb=b2efb46c666138f42ddbe261a8188eaf43e689da;p=mkgallery.git diff --git a/mkgallery.pl b/mkgallery.pl index 452d5da..822cd49 100755 --- a/mkgallery.pl +++ b/mkgallery.pl @@ -440,6 +440,8 @@ sub makeaux { sub startindex { my $self = shift; my $fn = $self->{-fullpath}.'/index.html'; + my $block = $self->{-fullpath}.'/.noindex'; + $fn = '/dev/null' if ( -f $block ); my $IND; unless (open($IND,'>'.$fn)) { warn "cannot open $fn: $!";