diff options
author | Miquel Lionel <lionel@les-miquelots.net> | 2021-06-27 18:56:47 +0100 |
---|---|---|
committer | Miquel Lionel <lionelmiquel@sfr.fr> | 2021-06-27 18:56:47 +0100 |
commit | 23c6d4753895870224209a44624c1350e934f762 (patch) | |
tree | cf48929b2514829fbbc5e2d71662ea686214df1e /Makefile | |
parent | 9d4b2d643dac58abb1af04ba3cf6014645762216 (diff) | |
download | gpigeon-23c6d4753895870224209a44624c1350e934f762.tar.gz gpigeon-23c6d4753895870224209a44624c1350e934f762.zip |
add chowning in the Makefile and WWWUSER var
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 ;\ |