Yet another place that doesn't take -D parameter into account

This commit is contained in:
Fatih Aşıcı
2010-02-28 19:12:50 +00:00
parent f5005bb796
commit ed8984ef4c
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -9,6 +9,8 @@
files.
* pisi/operations/delta.py: Take -D parameter into account
when looking for file permission changes.
* pisi/api.py (snapshot): Take -D parameter into account when
storing config files.
2010-02-27 Fatih Aşıcı <fatih@pardus.org.tr>
* pisi/archive.py: Install files into correct paths when the old
+2 -1
View File
@@ -561,7 +561,8 @@ def snapshot():
# Save changed config files of the package in snapshot
for f in installdb.get_files(name).list:
if f.type == "config" and pisi.util.config_changed(f):
historydb.save_config(name, "/%s" % f.path)
fpath = pisi.util.join_path(ctx.config.dest_dir(), f.path)
historydb.save_config(name, fpath)
processed += 1
ctx.ui.display_progress(operation = "snapshot",