[apache2] 02/03: Fix the regression introduced in 0f878d00 which prevented to detect the MPM in preinst

Arno Töll atoell-guest at alioth.debian.org
Thu Nov 7 23:26:29 UTC 2013


This is an automated email from the git hooks/post-receive script.

atoell-guest pushed a commit to branch master
in repository apache2.

commit 0c1cfd0e322783532ec8c2cad76643a01387cb90
Author: Arno Töll <arno at debian.org>
Date:   Fri Nov 8 00:10:19 2013 +0100

    Fix the regression introduced in 0f878d00 which prevented to detect the MPM in preinst
---
 debian/apache2.preinst |    1 -
 1 file changed, 1 deletion(-)

diff --git a/debian/apache2.preinst b/debian/apache2.preinst
index 57be2b4..255b1f3 100644
--- a/debian/apache2.preinst
+++ b/debian/apache2.preinst
@@ -107,7 +107,6 @@ case "$1" in
 	if [ -d "/etc/apache2/" ] ; then
 	    	mpm=$(dpkg-query -f '${Package}\t${Status}\n'  -W 'apache2-mpm-*' 2>/dev/null | grep "install ok" | cut -f1)
 		if [ -n "$mpm" ] ; then
-			mpm=$(echo "$mpm" | grep "install ok" | cut -f1)
 			if [ ! -f /etc/apache2/.apache2_mpm_selected ] ; then
 				echo "# automatically created during upgrade" >> /etc/apache2/.apache2_mpm_selected
 				echo "# it can be safely removed anytime" >> /etc/apache2/.apache2_mpm_selected

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-apache/apache2.git



More information about the Pkg-apache-commits mailing list