blob: 5665f08f6c6e6ca243f0ce8ea6c2f9aa3062cdda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
post_install() {
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
}
|