From 1029669713889663657c11e483ca4d333e21a18f Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 31 Mar 2024 19:23:47 +0200 Subject: [PATCH] GNUMakefile.in: Set GROUP_T when installing configuration files as root ... and there is no privoxy user available. Prevents the install target from failing with: Installing templates to /tmp/etc/templates id: privoxy: no such user ****************************************************************** WARNING! WARNING! installing config files as root! It is strongly recommended to run privoxy as a non-root user, and to install the config files as that user and/or group! Please read INSTALL, and create a privoxy user and group! ******************************************************************* Installing configuration files to /tmp/etc Installing config as config.new usage: install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner] [-M log] [-D dest] [-h hash] [-T tags] [-B suffix] [-l linkflags] [-N dbdir] file1 file2 install [-bCcpSsUv] [-f flags] [-g group] [-m mode] [-o owner] [-M log] [-D dest] [-h hash] [-T tags] [-B suffix] [-l linkflags] [-N dbdir] file1 ... fileN directory install -dU [-vU] [-g group] [-m mode] [-N dbdir] [-o owner] [-M log] [-D dest] [-h hash] [-T tags] directory ... gmake: *** [GNUmakefile:865: install] Error 1 --- GNUmakefile.in | 1 + 1 file changed, 1 insertion(+) diff --git a/GNUmakefile.in b/GNUmakefile.in index cf79aae1..db1bab59 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -927,6 +927,7 @@ install: CONF_DEST LOG_DEST PID_DEST check_doc GROUP_T $(ECHO) " and to install the config files as that user and/or group!" ;\ $(ECHO) " Please read INSTALL, and create a privoxy user and group!" ;\ $(ECHO) "*******************************************************************" ;\ + GROUP_T=$(GROUP) ;\ fi ;\ else \ GROUP_T=$(GROUP) ;\ -- 2.39.2