i keep *trying* to move from portupgrade to portmaster
kamikaze at bsdforen.de
Thu Aug 12 17:33:25 UTC 2010
On 06/08/2010 23:26, Doug Barton wrote:
> On 08/06/2010 04:34, jhell wrote:
>> Do not prompt for a backup package creation failure
> I need to add an option for this, but it will likely be an "expert"
> option that you can set in the rc file. The theory is that package
> creation failure should be a rare thing, and since portmaster has no way
> to know what packages are really critical to any given system it treats
> inability to safely recover from an upgrade failure as a critical error.
> However, having the ability to disable this is an oft-requested feature,
> I just haven't gotten to it yet.
Maybe you could treat pkg_create's return value 2 special, that's
what pkg_upgrade does.
Return value 2 means that creating a backup was successful, but
incomplete because of missing files. All the more reason to replace
the package in my opinion.
It's the most common case and it has no influence on portmaster's
ability to return the original state if something goes wrong, so
there's really no need to treat it differently from return value 0.
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
Q: What is the most annoying thing on usenet and in e-mail?
More information about the freebsd-ports