Yet another place that doesn't take -D parameter into account
This commit is contained in:
@@ -9,6 +9,8 @@
|
|||||||
files.
|
files.
|
||||||
* pisi/operations/delta.py: Take -D parameter into account
|
* pisi/operations/delta.py: Take -D parameter into account
|
||||||
when looking for file permission changes.
|
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>
|
2010-02-27 Fatih Aşıcı <fatih@pardus.org.tr>
|
||||||
* pisi/archive.py: Install files into correct paths when the old
|
* pisi/archive.py: Install files into correct paths when the old
|
||||||
|
|||||||
+2
-1
@@ -561,7 +561,8 @@ def snapshot():
|
|||||||
# Save changed config files of the package in snapshot
|
# Save changed config files of the package in snapshot
|
||||||
for f in installdb.get_files(name).list:
|
for f in installdb.get_files(name).list:
|
||||||
if f.type == "config" and pisi.util.config_changed(f):
|
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
|
processed += 1
|
||||||
ctx.ui.display_progress(operation = "snapshot",
|
ctx.ui.display_progress(operation = "snapshot",
|
||||||
|
|||||||
Reference in New Issue
Block a user