Don't create the "last" storage subdirectory

ot-record creates it automatically. Other directories are also created
automatically, so we should be consistent here. Note that some package
managers need special handling for empty directories at build time, but
they don't care about directories created at runtime.
This commit is contained in:
James Le Cuirot
2022-09-25 15:14:06 +01:00
parent 0439a9e667
commit 8ae8df60fb
+1 -1
View File
@@ -130,7 +130,7 @@ install: ot-recorder ocat
mkdir -p $(DESTDIR)$(INSTALLDIR)/bin
mkdir -p $(DESTDIR)$(INSTALLDIR)/sbin
mkdir -p $(DESTDIR)$(DOCROOT)
mkdir -p $(DESTDIR)$(STORAGEDEFAULT)/last
mkdir -p $(DESTDIR)$(STORAGEDEFAULT)
cp -R docroot/* $(DESTDIR)$(DOCROOT)/
install -m 0755 ot-recorder $(DESTDIR)$(INSTALLDIR)/sbin
install -m 0755 ocat $(DESTDIR)$(INSTALLDIR)/bin