On 03/21/11 12:59 PM, Danek Duvall wrote:
Brock Pytlik wrote:
...
The other thing that confused me a bit was on line 390 in file.py, why is
renameold.update treated differently than renameold or renamenew?

I don't recall how that works; that's Shawn's change.

In the case of a downgrade, renameold.update forces the old configuration file to be renamed to '<name>.update' regardless of the preserve attribute value for the action that originally delivered it.

The assumption is that if you're downgrading software, you can't guarantee the compatibility of the existing editable file, so the safest thing to do is to install the older version of the editable ifle and rename the one already on-disk.

-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to