mirror of
https://github.com/owntracks/recorder.git
synced 2026-05-05 02:36:45 +00:00
install config file 0640
This commit is contained in:
2
Makefile
2
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user