[Privoxy-commits] [privoxy] 02/02: Let the uninstall target remove the config file if DESTDIR is set
    User Git 
    git at git.privoxy.org
       
    Tue Jan 26 06:44:22 UTC 2021
    
    
  
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
commit c1542b663b631436c2753eb509996d721c8e67f8
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Tue Jan 26 07:29:37 2021 +0100
    Let the uninstall target remove the config file if DESTDIR is set
    
    ... and properly announce the deletion of the configuration files.
    
    Apparently I broke this in 2008 (cc77d4eec4).
---
 GNUmakefile.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/GNUmakefile.in b/GNUmakefile.in
index c1e4931b..e5fdc642 100644
--- a/GNUmakefile.in
+++ b/GNUmakefile.in
@@ -1039,8 +1039,8 @@ uninstall: CONF_DEST LOG_DEST PID_DEST check_doc
 		done ;\
 	fi
 	@$(ECHO) Removing $(PROGRAM) config files
-	- at for i in $(DESTDIR)$(CONFIGS); do \
-		test -f $(CONF_DEST)/$$i && $(ECHO) Removing $$i ;\
+	- at for i in $(CONFIGS); do \
+		test -f $(DESTDIR)$(CONF_DEST)/$$i && $(ECHO) Removing $$i ;\
 		$(RM) $(DESTDIR)$(CONF_DEST)/$$i $(DESTDIR)$(CONF_DEST)/$$i~ $(DESTDIR)$(CONF_DEST)/$$i.new ;\
 	done
 	- at test -d $(DESTDIR)$(CONF_DEST)/templates && $(RM) -r $(DESTDIR)$(CONF_DEST)/templates &&\
-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
    
    
More information about the Privoxy-commits
mailing list