[strongswan/el6] Create init.d directory before installing initscripts

Pavel Šimerda pavlix at fedoraproject.org
Wed Feb 15 14:54:43 UTC 2012


commit a54ddf607ae3194411eb9ceb9b76b6822fc3a70d
Author: Pavel Šimerda <pavlix at pavlix.net>
Date:   Wed Feb 15 15:54:40 2012 +0100

    Create init.d directory before installing initscripts

 strongswan.spec |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
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
 
 


More information about the scm-commits mailing list