Create init.d directory before installing initscripts
This commit is contained in:
@@ -58,7 +58,7 @@ chmod 700 %{buildroot}%{_sysconfdir}/%{name}
|
|||||||
# setup systemd unit or initscript
|
# setup systemd unit or initscript
|
||||||
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
|
%if 0%{?fedora} >= 15 || 0%{?rhel} >= 7
|
||||||
%else
|
%else
|
||||||
install -m 755 init/sysvinit/%{name} %{buildroot}/%{_initddir}/%{name}
|
install -D -m 755 init/sysvinit/%{name} %{buildroot}/%{_initddir}/%{name}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user