[Privoxy-commits] [privoxy] 09/10: GNUMakefile.in: Let the install target work if no group is specified

User Git git at git.privoxy.org
Wed Jun 26 15:39:26 CEST 2024


This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository privoxy.

commit 2da10d975fc7eb7f238b8e0501fb768332d30d74
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Mon Apr 8 15:04:03 2024 +0200

    GNUMakefile.in: Let the install target work if no group is specified
---
 GNUmakefile.in | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/GNUmakefile.in b/GNUmakefile.in
index db1bab59..146ad475 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -932,7 +932,11 @@ install: CONF_DEST LOG_DEST PID_DEST check_doc GROUP_T
 			else \
 				GROUP_T=$(GROUP) ;\
 			fi ;\
-			INSTALL_CONF="$(INSTALL_R) -g $$GROUP_T " ;\
+			if [ x$(GROUP_T) != x ]; then \
+				INSTALL_CONF="$(INSTALL_R) -g $$GROUP_T " ;\
+			else \
+				INSTALL_CONF="$(INSTALL_R)" ;\
+			fi ;\
 		else \
 			$(ECHO) "Superuser install, installing config files as $(USER):$(GROUP_T)" ;\
 			INSTALL_CONF="$(INSTALL_R) -o $(USER) -g $(GROUP_T)" ;\

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list