diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-05-16 16:24:28 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-05-16 16:24:28 (GMT) |
commit | fff4c50d3a1d94c807604d6c21355993dfb95c85 (patch) | |
tree | 390f0eb0781b2599449edbdafbeb6aaba34200dc /abs/core/lighttpd/lighttpd.install | |
parent | 8de064f6e96f960cdbfe6868d9957a4613f704df (diff) | |
parent | 6f7a84649ef75069cc4fa06fabeb63e762e049d1 (diff) | |
download | linhes_pkgbuild-fff4c50d3a1d94c807604d6c21355993dfb95c85.zip linhes_pkgbuild-fff4c50d3a1d94c807604d6c21355993dfb95c85.tar.gz linhes_pkgbuild-fff4c50d3a1d94c807604d6c21355993dfb95c85.tar.bz2 |
Merge branch 'testing'
Diffstat (limited to 'abs/core/lighttpd/lighttpd.install')
-rwxr-xr-x | abs/core/lighttpd/lighttpd.install | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/abs/core/lighttpd/lighttpd.install b/abs/core/lighttpd/lighttpd.install index a921b0f..1b0a4d7 100755 --- a/abs/core/lighttpd/lighttpd.install +++ b/abs/core/lighttpd/lighttpd.install @@ -1,7 +1,10 @@ -pre_upgrade() { - mv /etc/lighttpd/lighttpd.conf /etc/lighttpd/lighttpd.conf.old +post_install() { + if [[ ! -d run/lighttpd ]]; then + usr/bin/systemd-tmpfiles --create lighttpd.conf + fi + gen_light_include.py } + post_upgrade() { - sed -i 's|"^/mythweb|"^/{1,2}mythweb|g' /etc/lighttpd/lighttpd.conf - touch /etc/lighttpd/lighttpd.user + post_install } |