diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-09-17 22:03:09 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-09-17 22:03:09 (GMT) |
commit | cf309ccb9e436f2b5e8ba8bb9e36df9307c1aa39 (patch) | |
tree | bab1d712a30d6fc5e220698341c0cd4b3b3e94fa /abs/core/lighttpd/lighttpd.install | |
parent | 0bde051b0b1f70333f75a50f1214dca0d27b75da (diff) | |
download | linhes_pkgbuild-cf309ccb9e436f2b5e8ba8bb9e36df9307c1aa39.zip linhes_pkgbuild-cf309ccb9e436f2b5e8ba8bb9e36df9307c1aa39.tar.gz linhes_pkgbuild-cf309ccb9e436f2b5e8ba8bb9e36df9307c1aa39.tar.bz2 |
lighttpd: update to 1.4.37
Diffstat (limited to 'abs/core/lighttpd/lighttpd.install')
-rwxr-xr-x | abs/core/lighttpd/lighttpd.install | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/abs/core/lighttpd/lighttpd.install b/abs/core/lighttpd/lighttpd.install index a921b0f..55915f9 100755 --- a/abs/core/lighttpd/lighttpd.install +++ b/abs/core/lighttpd/lighttpd.install @@ -1,7 +1,9 @@ -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 } + post_upgrade() { - sed -i 's|"^/mythweb|"^/{1,2}mythweb|g' /etc/lighttpd/lighttpd.conf - touch /etc/lighttpd/lighttpd.user + post_install } |