[tor-commits] [thandy/master] Only ignore config files when updating

nickm at torproject.org nickm at torproject.org
Wed Nov 9 19:41:06 UTC 2011


commit 94d70d5a7ec3faa2aa6747c3d12d4fd3aa193475
Author: Tomás Touceda <chiiph at torproject.org>
Date:   Sat Nov 5 16:55:04 2011 -0300

    Only ignore config files when updating
---
 lib/thandy/packagesys/ThpPackages.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/thandy/packagesys/ThpPackages.py b/lib/thandy/packagesys/ThpPackages.py
index 4745767..7dfd96e 100644
--- a/lib/thandy/packagesys/ThpPackages.py
+++ b/lib/thandy/packagesys/ThpPackages.py
@@ -248,7 +248,7 @@ class ThpInstaller(PS.Installer):
             logging.info("%s: Already exists, using it." % dir)
 
         for file in self._pkg.get('manifest'):
-            if file['is_config']:
+            if file['is_config'] and exists:
                 logging.info("Ignoring file: %s" % file)
             else:
               logging.info("Processing file: %s" % file)





More information about the tor-commits mailing list