[setup - the official Cygwin setup program] branch master, updated. release_2.924-1-g054697c2

Christian Franke chrfranke@sourceware.org
Fri Dec 16 14:59:49 GMT 2022




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);



More information about the Cygwin-apps-cvs mailing list