From a54ddf607ae3194411eb9ceb9b76b6822fc3a70d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20=C5=A0imerda?= Date: Wed, 15 Feb 2012 15:54:40 +0100 Subject: [PATCH] Create init.d directory before installing initscripts --- strongswan.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strongswan.spec b/strongswan.spec index 4a282f7..689d777 100644 --- a/strongswan.spec +++ b/strongswan.spec @@ -58,7 +58,7 @@ chmod 700 %{buildroot}%{_sysconfdir}/%{name} # setup systemd unit or initscript %if 0%{?fedora} >= 15 || 0%{?rhel} >= 7 %else -install -m 755 init/sysvinit/%{name} %{buildroot}/%{_initddir}/%{name} +install -D -m 755 init/sysvinit/%{name} %{buildroot}/%{_initddir}/%{name} %endif