This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: RFC: setup package in Base
- From: cyg Simple <cygsimple at gmail dot com>
- To: cygwin-apps at cygwin dot com
- Date: Fri, 6 Jul 2018 09:15:39 -0400
- Subject: Re: RFC: setup package in Base
- References: <83590d14-5d6d-7536-5e79-3a03e5d3dc02@cygwin.com> <a04ffa5a-a563-f20a-b663-275fc71f9a33@cornell.edu> <5fff11ac-586d-f27e-f0f2-99aafe30f206@dronecode.org.uk> <d8d715f6-73b3-3ab6-5803-d7cdbd815198@cornell.edu> <87va9t5vrb.fsf@Rainer.invalid>
On 7/5/2018 3:26 PM, Achim Gratz wrote:
> Ken Brown writes:
>>> Not sure that when the setup package is upgraded, setup will be able
>>> to remove itself, though.
>>
>> I've just tested this, and in fact the running setup doesn't remove itself.
>
> It would have scared me if it did.
>
A scheme I've used for this is to rename the executable files and then
mark them for delete on close. This moves the file name out of the way
for a new file of the same name.
--
cyg Simple