diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2005-08-10 11:36:29 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2005-08-10 11:36:29 +0000 |
commit | 2dfaf0e5cb4ba4401f347db899f2d07a02d70e72 (patch) | |
tree | 386799f8e699e7d44373b0d45cf5c351bc58e819 /usr.sbin | |
parent | a4620586128de6a982adc1482981cc8b28ef41fb (diff) |
bug fix: if default is not available, do not push it for installation.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Dependencies.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Dependencies.pm b/usr.sbin/pkg_add/OpenBSD/Dependencies.pm index 7682c14578c..0e94926513c 100644 --- a/usr.sbin/pkg_add/OpenBSD/Dependencies.pm +++ b/usr.sbin/pkg_add/OpenBSD/Dependencies.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Dependencies.pm,v 1.1 2005/08/07 16:25:35 espie Exp $ +# $OpenBSD: Dependencies.pm,v 1.2 2005/08/10 11:36:28 espie Exp $ # # Copyright (c) 2005 Marc Espie <espie@openbsd.org> # @@ -90,6 +90,7 @@ sub solve } push(@deps, $candidates[0]); $to_register->{$candidates[0]} = 1; + next; } # can't get a list of packages, assume default # will be there. |