@@ -1320,6 +1320,13 @@ sub target_better ($$$) {
return 'exact';
}
#
+ # if target is goal
+ # always update if installed version is older than repository
+ #
+ if ($target->{GOAL} && !grep { vcmp($vs, $_) <= 0; } keys %$vmap) {
+ return 'goal';
+ }
# if -U then
# always update if installed version is older than repository