LP#1690206 - remove check of httpd.conf from OpenSRF Makefile.install
authorChris Sharp <csharp@georgialibraries.org>
Thu, 11 May 2017 18:47:32 +0000 (14:47 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 8 Sep 2017 22:15:43 +0000 (18:15 -0400)
The original src/extras/Makefile.install included a grep of the
file /etc/apache2/httpd.conf, which is no longer installed by default
on supported Debian and Ubuntu releases.  As this check results in
an error message, it makes sense to remove the check altogether.

Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>

src/extras/Makefile.install

index 39d7ed4..10e56ef 100644 (file)
@@ -200,12 +200,6 @@ debian_sys_config:
        # link the apache modules in
        for m in $(DEB_APACHE_MODS); do a2enmod $$m; done;
 
-       # adds a placeholder module so apxs will be happy
-       if [ ! "$$(grep mod_placeholder /etc/apache2/httpd.conf)" ]; then \
-               echo -e "#\n#LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so" \
-                       >> /etc/apache2/httpd.conf; \
-       fi;
-
 # Install the debian-specific dependencies
 install_debs:
        $(APT_TOOL) install $(DEBS)