X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=GNUmakefile.in;h=9476426ce4533f0638669a0290b575f3305b7602;hb=HEAD;hp=04cceb15e0499184683167ef3970f8b67121e871;hpb=eee84548c26f5d5efcb19a3a2c3c949a01de45c2;p=privoxy.git diff --git a/GNUmakefile.in b/GNUmakefile.in index 04cceb15..ac023f99 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -922,17 +922,21 @@ install: CONF_DEST LOG_DEST PID_DEST check_doc GROUP_T GROUP_T=privoxy ;\ else \ $(ECHO) "******************************************************************" ;\ - $(ECHO) " WARNING! WARNING! installing config files as root!" ;\ + $(ECHO) " WARNING! Installing config files as root!" ;\ $(ECHO) " It is strongly recommended to run $(PROGRAM) as a non-root user," ;\ $(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) "*******************************************************************" ;\ - exit 1 ;\ + GROUP_T=$(GROUP) ;\ fi ;\ 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)" ;\