X-Git-Url: http://www.average.org/gitweb/?p=mkgallery.git;a=blobdiff_plain;f=mkgallery.pl;h=822cd49845d1f900e40ef0c54d0911df1cdfc936;hp=452d5da27f5520d55bc430cc09483595b2e1c524;hb=2b396eee650aa66eeffb38a2fefdec240741484f;hpb=b2efb46c666138f42ddbe261a8188eaf43e689da 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: $!";