[libembperl-perl] 01/02: Don't try to enable mod_perl upon libembperl-perl installation
gregor herrmann
gregoa at debian.org
Wed Jun 28 17:56:08 UTC 2017
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch jessie
in repository libembperl-perl.
commit 194fb7ed24f01b9decb27d0cbc766e3a1bb9ba6c
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Thu Jan 14 01:49:57 2016 +0100
Don't try to enable mod_perl upon libembperl-perl installation
When libapache2-mod-perl2 is being installed, it enables mod_perl by
default. This also is the case if pulled in by libembperl-perl via
Recommends.
So if libapache2-mod-perl2 but not enabled, that's a local
administrator decision which should be honoured (and actually is
honoured by apache2_invoke, so the removed lines were defacto a no-op
anyways).
Closes: #810655 (properly and with minimal changes)
---
debian/libembperl-perl.postinst | 6 ------
1 file changed, 6 deletions(-)
diff --git a/debian/libembperl-perl.postinst b/debian/libembperl-perl.postinst
index 9ce3aee..3223cfd 100644
--- a/debian/libembperl-perl.postinst
+++ b/debian/libembperl-perl.postinst
@@ -11,17 +11,11 @@ if [ "$1" = "configure" ]; then
# mod_embperl is not thread-safe, requires the prefork MPM
if [ $(a2query -M) != 'prefork' ] ; then
if apache2_switch_mpm prefork ; then
- if [ -e /etc/apache2/mods-available/perl.load ]; then
- apache2_invoke enmod perl
- fi
apache2_invoke enmod zembperl
else
apache2_msg err "Could not switch to prefork, not enabling mod_embperl (you must use cgi or offline mode to use Embperl)"
fi
else
- if [ -e /etc/apache2/mods-available/perl.load ]; then
- apache2_invoke enmod perl
- fi
apache2_invoke enmod zembperl
fi
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libembperl-perl.git
More information about the Pkg-perl-cvs-commits
mailing list