summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Habouzit <madcoder@debian.org>2008-03-16 10:38:50 +0000
committerPierre Habouzit <madcoder@debian.org>2008-03-16 10:38:50 +0000
commite5805fe441ef8b6114237428642fba184128f582 (patch)
tree8a84abb342ad3e8de4dbd29eb19ce60489ca4edd
parent90ec01bea3db1a069ab48709d3c29e3e386a892a (diff)
downloadlighttpd-e5805fe441ef8b6114237428642fba184128f582.tar.gz
Chown /compress as well, simplify lighttpd.dirs
-rw-r--r--debian/lighttpd.dirs7
-rw-r--r--debian/lighttpd.postinst3
2 files changed, 2 insertions, 8 deletions
diff --git a/debian/lighttpd.dirs b/debian/lighttpd.dirs
index 2b15cfe..b3281a7 100644
--- a/debian/lighttpd.dirs
+++ b/debian/lighttpd.dirs
@@ -1,14 +1,7 @@
-var
var/www
-var/log
var/log/lighttpd
-var/cache
-var/cache/lighttpd
var/cache/lighttpd/compress
-etc
-etc/lighttpd/
etc/lighttpd/conf-available
etc/lighttpd/conf-enabled
-usr
usr/sbin
usr/lib/cgi-bin
diff --git a/debian/lighttpd.postinst b/debian/lighttpd.postinst
index 1407a05..8caa1fe 100644
--- a/debian/lighttpd.postinst
+++ b/debian/lighttpd.postinst
@@ -9,7 +9,8 @@ if [ "$1" = "configure" ]; then
cp /usr/share/lighttpd/index.html /var/www/index.lighttpd.html
fi
mkdir -p /var/run/lighttpd > /dev/null 2> /dev/null
- chown www-data:www-data /var/log/lighttpd /var/run/lighttpd /var/cache/lighttpd
+ chown www-data:www-data /var/log/lighttpd /var/run/lighttpd
+ chown www-data:www-data /var/cache/lighttpd /var/cache/lighttpd/compress
chmod 0750 /var/log/lighttpd /var/run/lighttpd
fi