From 23c6d4753895870224209a44624c1350e934f762 Mon Sep 17 00:00:00 2001 From: Miquel Lionel Date: Sun, 27 Jun 2021 18:56:47 +0100 Subject: add chowning in the Makefile and WWWUSER var --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3c57612..24b9489 100644 --- a/Makefile +++ b/Makefile @@ -149,6 +149,8 @@ install: printf "\nInstalling $(WWWDOMAIN).conf into $(NGINXCONFDIR)\n";\ install -Dm644 $(WWWDOMAIN).conf -t $(DESTDIR)$(NGINXCONFDIR);\ fi + chown $(WWWUSER):$(WWWUSER) -R $(DESTDIR)$(PREFIX)/gpigeon || exit 1; + chown $(WWWUSER):$(WWWUSER) -R $(DESTDIR)$(WWWPREFIX)/gpigeon || exit 1; nginxconf: nginx-example.conf @sed -e 's|wwwpath_goes_here|$(WWWPREFIX)|g;s|domain_goes_here|$(WWWDOMAIN)|g' nginx-example.conf > $(WWWDOMAIN).conf ;\ -- cgit v1.2.3-70-g09d2