summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlaf van der Spek <olafvdspek@gmail.com>2010-10-23 15:12:01 +0000
committerOlaf van der Spek <olafvdspek@gmail.com>2010-10-23 15:12:01 +0000
commit503b9263f4bcb5ac477ec9cd204eef9137b47f87 (patch)
tree3e2bb424445840de1a32d69af13a35016b7a7709
parente0c209d50688bc9dea8c690769fef7529993753c (diff)
downloadlighttpd-503b9263f4bcb5ac477ec9cd204eef9137b47f87.tar.gz
Use relative instead of absolute links for conf-enabled (closes: 541645)
-rw-r--r--debian/changelog3
-rwxr-xr-xdebian/lighty-enable-mod2
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 74f365e..82f2db2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,6 @@
+ [ Olaf van der Spek ]
+ * Use relative instead of absolute links for conf-enabled (closes: 541645)
+
lighttpd (1.4.28-1) unstable; urgency=low
[ Olaf van der Spek ]
diff --git a/debian/lighty-enable-mod b/debian/lighty-enable-mod
index c4770ec..1db5ad0 100755
--- a/debian/lighty-enable-mod
+++ b/debian/lighty-enable-mod
@@ -80,7 +80,7 @@ foreach my $do (@todo) {
my $st = stat($target);
unless ( -f $target ) {
- if (symlink($available{$do}, $target)) {
+ if (symlink("../conf-available/" . basename($available{$do}), $target)) {
print "ok\n";
}
else {