summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2017-03-14 15:36:29 +0100
committerRemi Collet <fedora@famillecollet.com>2017-03-14 15:36:29 +0100
commit1849f613d627c74001fb7c3779c6a46f8b9a88b7 (patch)
treeb77ebc27458ec1cead5d66d90ff8b70fd8eafd95
parentea3432638d34f76568602c608ec0e7818caf45d3 (diff)
PHP 7.0.17
-rw-r--r--php71.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/php71.spec b/php71.spec
index 13f1a50..69ec4a8 100644
--- a/php71.spec
+++ b/php71.spec
@@ -1651,7 +1651,7 @@ install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
install -m 644 %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/php-fpm
# Environment file
%if 0%{?fedora} >= 26
-sed -e '/EnvironmentFile/d' -i $RPM_BUILD_ROOT%{_root_initddir}/%{?scl_prefix}php-fpm
+sed -e '/EnvironmentFile/d' -i $RPM_BUILD_ROOT%{_unitdir}/%{?scl_prefix}php-fpm.service
%else
install -m 755 -d $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
install -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/php-fpm