Skip to content
Snippets Groups Projects
Commit a3ee061f authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Install *.schema only

Install *.schema as read-only
parent 7c7fab11
No related branches found
No related tags found
No related merge requests found
......@@ -255,11 +255,11 @@ all-cffiles: slapd
install-schema: FORCE
@-$(MKDIR) $(DESTDIR)$(sysconfdir)/schema
@cd $(srcdir) ; \
for i in schema/*.schema schema/*.conf ; do \
for i in schema/*.schema ; do \
if test ! -f $(DESTDIR)$(sysconfdir)/$$i; then \
echo "installing $$i in $(sysconfdir)"; \
echo $(INSTALL) $(INSTALLFLAGS) $$i $(DESTDIR)$(sysconfdir)/$$i; \
$(INSTALL) $(INSTALLFLAGS) $$i $(DESTDIR)$(sysconfdir)/$$i; \
echo $(INSTALL) $(INSTALLFLAGS) -m 444 $$i $(DESTDIR)$(sysconfdir)/$$i; \
$(INSTALL) $(INSTALLFLAGS) -m 444 $$i $(DESTDIR)$(sysconfdir)/$$i; \
else \
echo "PRESERVING EXISTING SCHEMA FILE $(DESTDIR)$(sysconfdir)/$$i"; \
fi; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment