diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-29 22:36:23 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-03-29 22:36:23 +0000 |
commit | 5f1e79404588b9f2cbd8fc80d4eb00d7505085c6 (patch) | |
tree | 903c75fc8b07c536668e6b3d0d6b255abf6a43ed /IkiWiki/Render.pm | |
parent | 0d9539d577886549b51d2bf70167db05f3f2514c (diff) | |
download | ikiwiki-5f1e79404588b9f2cbd8fc80d4eb00d7505085c6.tar ikiwiki-5f1e79404588b9f2cbd8fc80d4eb00d7505085c6.tar.gz |
fixes
Diffstat (limited to 'IkiWiki/Render.pm')
-rw-r--r-- | IkiWiki/Render.pm | 7 |
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 ($;@) { #{{{ |