summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-09-04 18:09:42 -0400
committerBen Morrison <ben@gbmor.dev>2019-09-04 18:09:42 -0400
commit70a0c68e72e2602c89df0280f41de32441577a67 (patch)
tree231e57ac946dd61aebb994bdd7dae188bda4a7ed
parent5a6691d69b99e2029172efee4ab0d0c7670a7d27 (diff)
downloadclinte-70a0c68e72e2602c89df0280f41de32441577a67.tar.gz
changed db perms
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 86eb7c6..62d0874 100644
--- a/Makefile
+++ b/Makefile
@@ -38,7 +38,8 @@ install:
 	@echo
 	@echo Copying files...
 	install -m755 target/release/clinte $(BINDIR)
-	chmod 777 $(DBDIR)
+	touch $(DBDIR)/clinte.db
+	chmod 666 $(DBDIR)/clinte.db
 	@echo
 	@echo ...Done!