diff options
author | Britney Fransen <brfransen@gmail.com> | 2014-04-16 00:11:20 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2014-04-16 00:11:20 (GMT) |
commit | 1a3bd510dd4dc4f85bbde399d983e94745869473 (patch) | |
tree | 5001162b7865b992bd747f51a355fd91bda166b7 /abs/core/apache/apache.install | |
parent | b90e9ef668828634480e31a3286b7e626b8a7bd1 (diff) | |
download | linhes_pkgbuild-1a3bd510dd4dc4f85bbde399d983e94745869473.zip linhes_pkgbuild-1a3bd510dd4dc4f85bbde399d983e94745869473.tar.gz linhes_pkgbuild-1a3bd510dd4dc4f85bbde399d983e94745869473.tar.bz2 |
apache: update to 2.4.9. refs #961
Diffstat (limited to 'abs/core/apache/apache.install')
-rw-r--r-- | abs/core/apache/apache.install | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/abs/core/apache/apache.install b/abs/core/apache/apache.install index 9b74e60..5665f08 100644 --- a/abs/core/apache/apache.install +++ b/abs/core/apache/apache.install @@ -1,3 +1,16 @@ post_install() { - systemd-tmpfiles --create usr/lib/tmpfiles.d/apache.conf + if type -P systemd-tmpfiles &> /dev/null; then + systemd-tmpfiles --create apache.conf + fi +} + +post_upgrade() { + if type -P systemd-tmpfiles &> /dev/null; then + systemd-tmpfiles --create apache.conf + fi + + if [[ $2 == 2\.2\.* ]]; then + # it is a major upgrade, show a useful link to upgrade instructions + echo ' Check Apache upgrade instructions: https://httpd.apache.org/docs/2.4/upgrading.html' + fi } |