]> cygwin.com Git - cygwin-apps/setup.git/blobdiff - choose.cc
2001-11-10 Robert Collins <rbtcollins@hotmail.com>
[cygwin-apps/setup.git] / choose.cc
index d6ebf7d62a69cb0dc2e8f08df89399e622c48fa0..9d67d39700ff3ac913c4f848240e257dc7cfb54d 100644 (file)
--- a/choose.cc
+++ b/choose.cc
@@ -147,6 +147,11 @@ set_action (Package * pkg, bool preinc)
        break;
        /* ACTION_SAME_* are used when the installed version is the same
           as the given action. */
+      case ACTION_SAME:
+       if (pkg->installed && !pkg->installed_ix)
+         /* the package is installed, but we don't have 
+          * that version it in our version list */
+         return;
       case ACTION_SAME_CURR:
       case ACTION_SAME_TEST:
        if (!preinc)            /* Previously set to this value */
@@ -269,6 +274,7 @@ choose_caption (Package * pkg)
     case ACTION_TEST:
       pkg->trust = (trusts) pkg->action;
       return pkg->info[pkg->trust].version;
+    case ACTION_SAME:
     case ACTION_SAME_PREV:
     case ACTION_SAME_CURR:
     case ACTION_SAME_TEST:
This page took 0.023541 seconds and 5 git commands to generate.