From: Fabian Keil Date: Mon, 8 Apr 2024 13:04:03 +0000 (+0200) Subject: GNUMakefile.in: Let the install target work if no group is specified X-Git-Url: http://www.privoxy.org/gitweb/team/%22/show-status?a=commitdiff_plain;h=2da10d975fc7eb7f238b8e0501fb768332d30d74;p=privoxy.git GNUMakefile.in: Let the install target work if no group is specified --- 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)" ;\