summaryrefslogtreecommitdiff
path: root/libpiny/lib
diff options
context:
space:
mode:
authorJoe Rayhawk <jrayhawk@omgwallhack.org>2011-06-01 21:56:19 -0700
committerJoe Rayhawk <jrayhawk@omgwallhack.org>2011-06-01 21:56:19 -0700
commit49c515348221933cba9404eee866084aebb27030 (patch)
tree83f8d840b246e2cf98c4b92c60775cf789db3226 /libpiny/lib
parent3d2202f547168826b2e2b305c21ecb7bbc0222d0 (diff)
downloadpiny-code-49c515348221933cba9404eee866084aebb27030.tar.gz
piny-code-49c515348221933cba9404eee866084aebb27030.zip
Fix wikilist.d removal
Diffstat (limited to 'libpiny/lib')
-rw-r--r--libpiny/lib/Piny/Repo.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpiny/lib/Piny/Repo.pm b/libpiny/lib/Piny/Repo.pm
index 675c16c..b265705 100644
--- a/libpiny/lib/Piny/Repo.pm
+++ b/libpiny/lib/Piny/Repo.pm
@@ -404,7 +404,7 @@ sub destroy_ikiwiki {
system( "/etc/init.d/apache2", "reload" ) and die "Could not reload apache config!";
if ( -e "/etc/ikiwiki/wikilist.d/" . $s->name ) {
- unlink( $_ );
+ unlink( "/etc/ikiwiki/wikilist.d/" . $s->name );
$s->rebuild_wikilist;
};