File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ install-headers:
53
53
paths="$$paths $(INSTALL_ROOT)$(phpincludedir)/$$i"; \
54
54
done; \
55
55
$(mkinstalldirs) $$paths && \
56
- echo "Installing header files: $(INSTALL_ROOT)$(phpincludedir)/" && \
56
+ echo "Installing header files: $(INSTALL_ROOT)$(phpincludedir)/" && \
57
57
for i in `echo $(INSTALL_HEADERS)`; do \
58
58
if test "$(PHP_PECL_EXTENSION)"; then \
59
59
src=`echo $$i | $(SED) -e "s#ext/$(PHP_PECL_EXTENSION)/##g"`; \
Original file line number Diff line number Diff line change @@ -10,11 +10,15 @@ install-fpm: $(SAPI_FPM_PATH)
10
10
@$(mkinstalldirs ) $(INSTALL_ROOT )$(localstatedir ) /run
11
11
@$(INSTALL ) -m 0755 $(SAPI_FPM_PATH ) $(INSTALL_ROOT )$(sbindir ) /$(program_prefix ) php-fpm$(program_suffix )$(EXEEXT )
12
12
13
- @echo "Installing PHP FPM config: $(INSTALL_ROOT)$(sysconfdir)/" && \
14
- $(mkinstalldirs) $(INSTALL_ROOT)$(sysconfdir)/php-fpm.d || :
15
- @$(INSTALL_DATA) sapi/fpm/php-fpm.conf $(INSTALL_ROOT)$(sysconfdir)/php-fpm.conf.default || :
16
- @$(INSTALL_DATA) sapi/fpm/www.conf $(INSTALL_ROOT)$(sysconfdir)/php-fpm.d/www.conf.default || :
17
-
13
+ @if test -f "$(INSTALL_ROOT)$(sysconfdir)/php-fpm.conf"; then \
14
+ echo "Installing PHP FPM defconfig: skipping"; \
15
+ else \
16
+ echo "Installing PHP FPM defconfig: $(INSTALL_ROOT)$(sysconfdir)/" && \
17
+ $(mkinstalldirs) $(INSTALL_ROOT)$(sysconfdir)/php-fpm.d; \
18
+ $(INSTALL_DATA) sapi/fpm/php-fpm.conf $(INSTALL_ROOT)$(sysconfdir)/php-fpm.conf.default; \
19
+ $(INSTALL_DATA) sapi/fpm/www.conf $(INSTALL_ROOT)$(sysconfdir)/php-fpm.d/www.conf.default; \
20
+ fi
21
+
18
22
@echo "Installing PHP FPM man page: $(INSTALL_ROOT)$(mandir)/man8/"
19
23
@$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man8
20
24
@$(INSTALL_DATA) sapi/fpm/php-fpm.8 $(INSTALL_ROOT)$(mandir)/man8/php-fpm$(program_suffix).8
You can’t perform that action at this time.
0 commit comments