projects
/
working
/
OpenSRF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7b2ff8
)
Check for existence of httpd.conf before trying to grep it
user/csharp/check_for_httpd_conf
author
Chris Sharp
<csharp@georgialibraries.org>
Fri, 29 Mar 2019 14:19:07 +0000
(10:19 -0400)
committer
Chris Sharp
<csharp@georgialibraries.org>
Fri, 29 Mar 2019 14:19:07 +0000
(10:19 -0400)
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
src/gateway/Makefile.am
patch
|
blob
|
history
diff --git
a/src/gateway/Makefile.am
b/src/gateway/Makefile.am
index
d4f327d
..
c973baa
100644
(file)
--- a/
src/gateway/Makefile.am
+++ b/
src/gateway/Makefile.am
@@
-27,7
+27,7
@@
DISTCLEANFILES = Makefile.in Makefile
install-exec-local:
d=`$(APXS2) -q SYSCONFDIR` && \
- if ! grep mod_placeholder $${d}/httpd.conf 2>&1 >/dev/null ; \
+ if
-e $${d}/httpd.conf &&
! grep mod_placeholder $${d}/httpd.conf 2>&1 >/dev/null ; \
then echo -e "#\n#LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so" \
>> $${d}/httpd.conf; \
fi