public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [setup - the official Cygwin setup program] branch master, updated. release_2.924-1-g054697c2
@ 2022-12-16 14:59 Christian Franke
  0 siblings, 0 replies; only message in thread
From: Christian Franke @ 2022-12-16 14:59 UTC (permalink / raw)
  To: cygwin-apps-cvs




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;h=054697c297a3e21ee5e63f51b27431640cab5cde

commit 054697c297a3e21ee5e63f51b27431640cab5cde
Author: Christian Franke <christian.franke@t-online.de>
Date:   Sun Dec 11 15:55:47 2022 +0100

    Ignore reinstall requests if version is not accessible


Diff:
---
 package_meta.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package_meta.cc b/package_meta.cc
index 2257b59e..3daa9700 100644
--- a/package_meta.cc
+++ b/package_meta.cc
@@ -672,7 +672,7 @@ packagemeta::set_action (_actions action, packageversion const &default_version,
   else if (action == Reinstall_action)
     {
       desired = installed;
-      if (desired)
+      if (desired.accessible ())
 	{
 	  pick (true);
 	  srcpick (false);


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-16 14:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-16 14:59 [setup - the official Cygwin setup program] branch master, updated. release_2.924-1-g054697c2 Christian Franke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).