diff options
author | Erich Eckner <git@eckner.net> | 2019-12-12 11:30:18 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-12-12 11:30:18 +0100 |
commit | c16a4eaaea558d66070464863082b5ad8bfa16e4 (patch) | |
tree | ca81821816d5353d98233d65578e0cb126afc65f | |
parent | 4bf8c26765ee5b14284aa94814ac31c4a5130723 (diff) | |
download | simple-pki-c16a4eaaea558d66070464863082b5ad8bfa16e4.tar.xz |
Makefile: install as root if http is unavailablev0.2.5
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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: |