From d82eae7034e0de30b5d61294cdb78c3ad8c1bbda Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 13 Apr 2023 20:16:19 +0200 Subject: Automate /var/lib/ceres creation That way only the system user setup and ownership change has to be done by the packager / installer. --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 944bdee..92507ae 100644 --- a/Makefile +++ b/Makefile @@ -24,6 +24,8 @@ install: all install -Dm 644 data/templates/head.html $(DESTDIR)$(PREFIX)/share/ceres/templates/head.html install -Dm 644 data/templates/recipe_confirm_deletion.html $(DESTDIR)$(PREFIX)/share/ceres/templates/recipe_confirm_deletion.html install -Dm 644 data/templates/recipe.html $(DESTDIR)$(PREFIX)/share/ceres/templates/recipe.html + + install -dm 700 $(DESTDIR)/var/lib/ceres debug: go run *.go -c config/debug.json -- cgit v1.2.3-70-g09d2