This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Setup snpshot bug no skip/keep



"Gareth Pearce" <tilps@hotmail.com> on Fri, 9 Nov 2001 06:44:38 +1100
said:
>Problem with no keep/skip option turning up ... happened to me last night
>... So I read some code ... tried to hunt down the problem...
>AFAICT - heh havent read much of this code yet - if the installed version is
>not one of the ones listed, in setup, you wont be able to choose keep or
>skip

That jibes with what I just saw. The setup.ini file lists 1.3.4-4 and
1.3.2-1 as the current and prev entries for cygwin. Since I have
1.3.2-2 installed, I don't get a keep option.

>in choose.cc set_action - there is a if(!pkg->installed) for skip ... i
>propose changing this so as to check if the installed version is one of the
>available ones instead.

I would suggest the following:

  if the package is installed always display keep. Doesn't matter if
  the version is available or not. It was available at some time
  and if the user want's to keep it, they should be able to.

> Then possible renameing skip to keep when pkg->installed is true.

I think you meant "if the package is not installed display skip" right?

>Will write a patch if anyone thinks this makes sense...

Yes. I think you must ALWAYS have a keep or skip option available.

				-- rouilj
John Rouillard
===============================================================================
My employers don't acknowledge my existence much less my opinions.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]