summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@torproject.org>2011-11-05 16:55:04 -0300
committerTomás Touceda <chiiph@torproject.org>2011-11-05 17:24:15 -0300
commit94d70d5a7ec3faa2aa6747c3d12d4fd3aa193475 (patch)
tree45b343ebc711ed8147b837df8a03e464742d235e
parentd2f814426fc5bae6315daea3feb8a3f8a2a9efd5 (diff)
Only ignore config files when updating
-rw-r--r--lib/thandy/packagesys/ThpPackages.py2
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)