autoindex: remove unnecessary special case for transient underlay
It's not clear that the transient underlay should be excluded from indexing; see [[bugs/transient autocreated tagbase is not transient autoindexed]]. In any case, the code that checks what directories might need indexes specifically checks for the srcdir anyway, so the only effect this extra check can have is negative (it could fail to notice files in the transient underlay and attempt to recreate them unnecessarily).master
parent
532d05be9e
commit
3ba2ef1a54
|
@ -71,7 +71,6 @@ sub refresh () {
|
|||
|
||||
my (%pages, %dirs);
|
||||
foreach my $dir ($config{srcdir}, @{$config{underlaydirs}}, $config{underlaydir}) {
|
||||
next if $dir eq $IkiWiki::Plugin::transient::transientdir;
|
||||
chdir($dir) || next;
|
||||
|
||||
find({
|
||||
|
|
Loading…
Reference in New Issue