diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2011-06-01 21:56:19 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2011-06-01 21:56:19 -0700 |
commit | 49c515348221933cba9404eee866084aebb27030 (patch) | |
tree | 83f8d840b246e2cf98c4b92c60775cf789db3226 | |
parent | 3d2202f547168826b2e2b305c21ecb7bbc0222d0 (diff) | |
download | piny-code-49c515348221933cba9404eee866084aebb27030.tar.gz piny-code-49c515348221933cba9404eee866084aebb27030.zip |
Fix wikilist.d removal
-rw-r--r-- | libpiny/lib/Piny/Repo.pm | 2 |
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; }; |