Skip to content

Commit

Permalink
Do not add to the universe remote packages as deps that are identical to
Browse files Browse the repository at this point in the history
local ones
  • Loading branch information
bapt committed Jul 5, 2016
1 parent 6e1d9f9 commit b1eda6c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions libpkg/pkg_jobs_universe.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,8 @@ pkg_jobs_universe_process_deps(struct pkg_jobs_universe *universe,

if (npkg != NULL) {
/* Set reason for upgrades */
pkg_jobs_need_upgrade(rpkg, npkg);
if (!pkg_jobs_need_upgrade(rpkg, npkg))
continue;
/* Save automatic flag */
rpkg->automatic = npkg->automatic;
}
Expand All @@ -355,7 +356,8 @@ pkg_jobs_universe_process_deps(struct pkg_jobs_universe *universe,

if (npkg != NULL) {
/* Set reason for upgrades */
pkg_jobs_need_upgrade(rpkg, npkg);
if (!pkg_jobs_need_upgrade(rpkg, npkg))
continue;
/* Save automatic flag */
rpkg->automatic = npkg->automatic;
}
Expand Down

0 comments on commit b1eda6c

Please sign in to comment.