Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix --check-depends trying to install remote packages
PR:		ports/186915
Reported by:	kaltheat <kaltheat@gmail.com>
  • Loading branch information
bdrewery committed Mar 1, 2014
1 parent 4b524b5 commit 1ecfd2f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions portmaster
Expand Up @@ -1589,8 +1589,15 @@ fi # [ -n "$CLEAN_PACKAGES" ]

if [ -n "$CHECK_DEPENDS" ]; then
if [ -n "$use_pkgng" ]; then
# TODO
pkg check -adv
missing_deps=$(pkg check -dn)
pkg query "%o %do" | while read origin dep; do
for missing_dep in ${missing_deps}; do
if [ "${missing_dep}" = "${dep}" ]; then
echo "${origin} requires missing ${dep}"
break
fi
done
done
exit
fi
PM_VERBOSE=pmv_check_depends
Expand Down

0 comments on commit 1ecfd2f

Please sign in to comment.