diff --git a/ChangeLog b/ChangeLog index 7d448dca..d587a87e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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ı * pisi/archive.py: Install files into correct paths when the old diff --git a/pisi/api.py b/pisi/api.py index 58eff81f..8c58cd00 100644 --- a/pisi/api.py +++ b/pisi/api.py @@ -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",