summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 676dd1d..26b63d5 100644
--- a/Makefile
+++ b/Makefile
@@ -52,7 +52,8 @@ install-ca:
install-cb:
install -D -m0755 -t $(DESTDIR)$(BINDIR) rotate-keys
install -D -m0644 -t $(DESTDIR)$(ETCDIR)/simple-pki etc/cb.conf etc/server-ssl.conf
- install -d -m0700 -o http -g http $(DESTDIR)$(ETCDIR)/simple-pki/cb
+ install -d -m0700 -o http -g http $(DESTDIR)$(ETCDIR)/simple-pki/cb \
+ || install -d -m0700 $(DESTDIR)$(ETCDIR)/simple-pki/cb
install -D -m0644 -t $(DESTDIR)$(LIBDIR)/systemd/system rotate-keys.service rotate-keys.timer
clean: