From 49c515348221933cba9404eee866084aebb27030 Mon Sep 17 00:00:00 2001 From: Joe Rayhawk Date: Wed, 1 Jun 2011 21:56:19 -0700 Subject: Fix wikilist.d removal --- libpiny/lib/Piny/Repo.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libpiny/lib/Piny/Repo.pm') 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; }; -- cgit v1.2.3