summaryrefslogtreecommitdiffstats
path: root/abs/core/lighttpd/lighttpd.install
blob: a921b0f09cac87ffb7c71f889bb425fa2ee62482 (plain)
1
2
3
4
5
6
7
pre_upgrade() {
    mv /etc/lighttpd/lighttpd.conf  /etc/lighttpd/lighttpd.conf.old
}
post_upgrade() {
    sed -i 's|"^/mythweb|"^/{1,2}mythweb|g' /etc/lighttpd/lighttpd.conf
    touch /etc/lighttpd/lighttpd.user
}