From 870cb2073c07ba938bce521c29a4f45273108bef Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bartosz=20=C5=9Awi=C4=85tek?= Date: Fri, 24 Feb 2012 18:09:54 +0100 Subject: [PATCH] - pretrans maybe? :) --- apache.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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. -- 2.44.0