summaryrefslogtreecommitdiff
path: root/ikiwiki
diff options
context:
space:
mode:
Diffstat (limited to 'ikiwiki')
-rwxr-xr-xikiwiki5
1 files changed, 2 insertions, 3 deletions
diff --git a/ikiwiki b/ikiwiki
index fd9904e3d..40356f1d3 100755
--- a/ikiwiki
+++ b/ikiwiki
@@ -564,10 +564,9 @@ sub prune ($) { #{{{
} #}}}
sub refresh () { #{{{
- # Find existing pages.
+ # find existing pages
my %exists;
my @files;
-
eval q{use File::Find};
find({
no_chdir => 1,
@@ -608,7 +607,7 @@ sub refresh () { #{{{
foreach my $page (keys %oldpagemtime) {
if (! $exists{$page}) {
debug("removing old page $page");
- push @del, $renderedfiles{$page};
+ push @del, $pagesources{$page};
prune($config{destdir}."/".$renderedfiles{$page});
delete $renderedfiles{$page};
$oldpagemtime{$page}=0;