summaryrefslogtreecommitdiffstats
path: root/ipa-server/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-server/Makefile.am')
-rw-r--r--ipa-server/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/ipa-server/Makefile.am b/ipa-server/Makefile.am
index d26aa290..35d3074e 100644
--- a/ipa-server/Makefile.am
+++ b/ipa-server/Makefile.am
@@ -15,12 +15,14 @@ SUBDIRS = \
$(NULL)
install-exec-local:
- mkdir -p $(DESTDIR)$(localstatedir)/cache/ipa/sysrestore
+ mkdir -p $(DESTDIR)$(localstatedir)/lib/ipa/sysrestore
+ chmod 700 $(DESTDIR)$(localstatedir)/lib/ipa/sysrestore
mkdir -p $(DESTDIR)$(localstatedir)/cache/ipa/sessions
chmod 700 $(DESTDIR)$(localstatedir)/cache/ipa/sessions
uninstall-local:
- -rmdir $(DESTDIR)$(localstatedir)/cache/ipa/sysrestore
+ -rmdir $(DESTDIR)$(localstatedir)/lib/ipa/sysrestore
+ -rmdir $(DESTDIR)$(localstatedir)/lib/ipa
-rmdir $(DESTDIR)$(localstatedir)/cache/ipa/sessions
-rmdir $(DESTDIR)$(localstatedir)/cache/ipa