summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/lighttpd/lighttpd.install
diff options
context:
space:
mode:
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
}