setup: uninstalling an orphaned package
Jon Turney
jon.turney@dronecode.org.uk
Sun Jun 10 20:58:00 GMT 2018
On 27/03/2018 20:04, Ken Brown wrote:
> On 3/26/2018 1:55 PM, Ken Brown wrote:
>> In ChooserPage::applyCommandLinePackageSelection() we have the
>> following code:
>>
>>       bool wanted   = pkg.isManuallyWanted();
>>       bool deleted  = pkg.isManuallyDeleted();
>>       bool basemisc = (pkg.categories.find ("Base") !=
>> pkg.categories.end ()
>> Â Â Â Â Â Â Â Â Â Â Â Â Â || pkg.categories.find ("Orphaned") !=
>> pkg.categories.end ());
>> [...]
>>       bool reinstall = (wanted || basemisc) && deleted;
>>
>> One strange consequence of this is that if the user tries to uninstall
>> an orphaned package on the command line, then setup will instead try
>> to reinstall it.
>>
[...]
>
> Patch attached.
Applied, thanks.
More information about the Cygwin-apps
mailing list