aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-29 22:36:23 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2006-03-29 22:36:23 +0000
commit5f1e79404588b9f2cbd8fc80d4eb00d7505085c6 (patch)
tree903c75fc8b07c536668e6b3d0d6b255abf6a43ed /IkiWiki
parent0d9539d577886549b51d2bf70167db05f3f2514c (diff)
downloadikiwiki-5f1e79404588b9f2cbd8fc80d4eb00d7505085c6.tar
ikiwiki-5f1e79404588b9f2cbd8fc80d4eb00d7505085c6.tar.gz
fixes
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Render.pm7
1 files changed, 4 insertions, 3 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm
index 8375cfe7a..23f6b1c72 100644
--- a/IkiWiki/Render.pm
+++ b/IkiWiki/Render.pm
@@ -407,9 +407,10 @@ sub estcfg () { #{{{
);
print TEMPLATE $template->output;
close TEMPLATE;
- symlink("/usr/lib/estraier/estseek.cgi",
- "$estdir/".basename($config{cgiurl})) ||
- error("symlink: $!");
+ $cgi="$estdir/".basename($config{cgiurl});
+ unlink($cgi);
+ symlink("/usr/lib/estraier/estseek.cgi", $cgi) ||
+ error("symlink $cgi: $!");
} # }}}
sub estcmd ($;@) { #{{{