From: Bartosz Świątek Date: Fri, 24 Feb 2012 17:09:54 +0000 (+0100) Subject: - pretrans maybe? :) X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=870cb2073c07ba938bce521c29a4f45273108bef;p=packages%2Fapache.git - pretrans maybe? :) --- diff --git a/apache.spec b/apache.spec index 23e530b..c7e0457 100644 --- a/apache.spec +++ b/apache.spec @@ -2481,13 +2481,15 @@ Please report bugs to . EOF -%triggerpostun base -- %{name} < 2.4.0 +%pretrans base -- %{name} < 2.4.0 if [ -f /etc/sysconfig/httpd ]; then MPM=$(grep HTTPD_MPM /etc/sysconfig/httpd |sed 's,HTTPD_MPM=,,;s,",,g') echo "LoadModule mpm_${MPM}_module modules/mod_mpm_${MPM}.so" > /etc/httpd/conf.d/10_mpm.conf.rpmnew cat /etc/httpd/conf.d/10_mpm.conf >> /etc/httpd/conf.d/10_mpm.conf.rpmnew mv /etc/httpd/conf.d/10_mpm.conf.rpmnew /etc/httpd/conf.d/10_mpm.conf fi + +%triggerpostun base -- %{name} < 2.4.0 %banner -e %{name} << EOF WARNING!!! Since apache-2.4 mod_authn_alias has been obsoleted.