From 28a06123a0889c6ef4682a2959367236a89319dd Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Wed, 13 Oct 2010 20:47:13 -0700 Subject: Durr, I'm an idiot. --- usr/src/libpiny/lib/Piny/Repo.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/src/libpiny/lib/Piny/Repo.pm b/usr/src/libpiny/lib/Piny/Repo.pm index 917d9e1..613d75b 100644 --- a/usr/src/libpiny/lib/Piny/Repo.pm +++ b/usr/src/libpiny/lib/Piny/Repo.pm @@ -258,7 +258,7 @@ sub rebuild { print APACHE $s->apache_config; close( APACHE ) or die "Could not close new apache config: $!"; - unlink( "/etc/apache2/piny-available/" . $s->name ); + unlink( "/etc/apache2/piny-enabled/" . $s->name ); symlink( "/etc/apache2/piny-available/" . $s->name, "/etc/apache2/piny-enabled/" . $s->name ) or die "Could not symlink apache config: $!"; system( "/etc/init.d/apache2", "reload" ) and die "Could not reload apache config!"; -- cgit v1.2.3