Use the numerical UID/GID to install the config files and create the ipsec.d directories.

This commit is contained in:
Tobias Brunner
2009-07-20 21:03:05 +02:00
parent 7d2b06da6a
commit 7cdf712d3e
2 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -52,4 +52,4 @@ EXTRA_DIST = strongswan.conf
install-exec-local :
test -e "$(DESTDIR)${sysconfdir}" || $(INSTALL) -d "$(DESTDIR)$(sysconfdir)"
test -e "$(DESTDIR)$(sysconfdir)/strongswan.conf" || $(INSTALL) -o ${ipsecuser} -g ${ipsecgroup} -m 640 strongswan.conf $(DESTDIR)$(sysconfdir)/strongswan.conf || true
test -e "$(DESTDIR)$(sysconfdir)/strongswan.conf" || $(INSTALL) -o ${ipsecuid} -g ${ipsecgid} -m 640 strongswan.conf $(DESTDIR)$(sysconfdir)/strongswan.conf || true