[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 94d70d5a7ec3faa2aa6747c3d12d4fd3aa193475
Author: Tomás Touceda <chiiph@xxxxxxxxxxxxxx>
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)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits