mirror of
https://github.com/owntracks/recorder.git
synced 2026-08-27 16:57:21 +00:00
set sensible mode on ot-recorder defaults
This commit is contained in:
@@ -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 etc/ot-recorder.default $(DESTDIR)/$(CONFIGFILE)
|
||||
test -r $(DESTDIR)/$(CONFIGFILE) || install -D -m 644 etc/ot-recorder.default $(DESTDIR)/$(CONFIGFILE)
|
||||
ifndef DESTDIR
|
||||
$(INSTALLDIR)/sbin/ot-recorder --initialize
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user