install config file 0640

This commit is contained in:
Jan-Piet Mens
2016-02-25 19:05:40 +01:00
parent c4daf5c523
commit cf4da36fae

View File

@@ -110,7 +110,7 @@ install: ot-recorder ocat
cp -R docroot/* $(DESTDIR)$(DOCROOT)/
install -m 0755 ot-recorder $(DESTDIR)$(INSTALLDIR)/sbin
install -m 0755 ocat $(DESTDIR)$(INSTALLDIR)/bin
test -r $(DESTDIR)/$(CONFIGFILE) || install -D -m 644 etc/ot-recorder.default $(DESTDIR)/$(CONFIGFILE)
test -r $(DESTDIR)/$(CONFIGFILE) || install -D -m 640 etc/ot-recorder.default $(DESTDIR)/$(CONFIGFILE)
ifndef DESTDIR
$(INSTALLDIR)/sbin/ot-recorder --initialize
endif