summaryrefslogtreecommitdiff
path: root/usr/src/libpiny
diff options
context:
space:
mode:
authorJulian Blake Kongslie <jblake@omgwallhack.org>2010-10-13 20:47:13 -0700
committerjblake+piny@omgwallhack.org <jblake@omgwallhack.org>2010-10-13 20:47:13 -0700
commit28a06123a0889c6ef4682a2959367236a89319dd (patch)
tree6e2ec5cd6c87f935cd293de2b35d70a5084435ff /usr/src/libpiny
parentc1ca55a28384c5bcc588c5fb60c5ec9afb980669 (diff)
downloadpiny-code-28a06123a0889c6ef4682a2959367236a89319dd.tar.gz
piny-code-28a06123a0889c6ef4682a2959367236a89319dd.zip
Durr, I'm an idiot.
Diffstat (limited to 'usr/src/libpiny')
-rw-r--r--usr/src/libpiny/lib/Piny/Repo.pm2
1 files changed, 1 insertions, 1 deletions
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!";