summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/lighttpd/lighttpd.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2008-12-10 01:41:05 (GMT)
committerJames Meyer <james.meyer@operamail.com>2008-12-10 01:41:05 (GMT)
commitf77e676cfc7f6919fa6a4145180899afd4ad1fd6 (patch)
tree9f2b653bfbb4edbf57bcda815676956a6fa05c12 /abs/core-testing/lighttpd/lighttpd.install
parent8203006cf9ee68a8e33e30d48ea6b396d1a7b7e4 (diff)
downloadlinhes_pkgbuild-f77e676cfc7f6919fa6a4145180899afd4ad1fd6.zip
linhes_pkgbuild-f77e676cfc7f6919fa6a4145180899afd4ad1fd6.tar.gz
linhes_pkgbuild-f77e676cfc7f6919fa6a4145180899afd4ad1fd6.tar.bz2
Connect various pieces to dd password protection to /mythweb.
Disabled by default.
Diffstat (limited to 'abs/core-testing/lighttpd/lighttpd.install')
-rw-r--r--abs/core-testing/lighttpd/lighttpd.install18
1 files changed, 4 insertions, 14 deletions
diff --git a/abs/core-testing/lighttpd/lighttpd.install b/abs/core-testing/lighttpd/lighttpd.install
index 9d98d41..bf4c132 100644
--- a/abs/core-testing/lighttpd/lighttpd.install
+++ b/abs/core-testing/lighttpd/lighttpd.install
@@ -1,16 +1,6 @@
+pre_upgrade() {
+ mv /etc/lighttpd/lighttpd.conf /etc/lighttpd/lighttpd.conf.old
+}
post_upgrade() {
- if [ $(vercmp '1.4.19-1' $2) -ge 0 ]; then
- echo '
- ==> New default DocumentRoot
-
- lighttpd uses /srv/http as default DocumentRoot.
- You can still use your current DocumentRoot
-
- ==> New default user and group
-
- Instead of "nobody" lighttpd runs as user/group "http" by default now. You might
- want to adjust your lighttpd.conf according to this change. But you can still
- run lighttpd as nobody.
- '
- fi
+ touch /etc/lighttpd/lighttpd.user
}