summaryrefslogtreecommitdiff
path: root/extra/apache/apache.install
blob: d85194623097f008ab30177063989a28b8a52760 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
post_install() {
  systemd-tmpfiles --create apache.conf
}

post_upgrade() {
  systemd-tmpfiles --create apache.conf

  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/trunk/upgrading.html'
  fi
}