Fix broken package dependence handling mentioned by Brook Milligan on
"tech-pkg@netbsd.org".
This commit is contained in:
parent
ba78af57df
commit
63ef9847d5
|
@ -1,11 +1,11 @@
|
|||
/* $NetBSD: perform.c,v 1.19 1998/08/28 00:35:51 hubertf Exp $ */
|
||||
/* $NetBSD: perform.c,v 1.20 1998/09/08 21:54:01 tron Exp $ */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#ifndef lint
|
||||
#if 0
|
||||
static const char *rcsid = "from FreeBSD Id: perform.c,v 1.44 1997/10/13 15:03:46 jkh Exp";
|
||||
#else
|
||||
__RCSID("$NetBSD: perform.c,v 1.19 1998/08/28 00:35:51 hubertf Exp $");
|
||||
__RCSID("$NetBSD: perform.c,v 1.20 1998/09/08 21:54:01 tron Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -277,11 +277,12 @@ pkg_do(char *pkg)
|
|||
++code;
|
||||
}
|
||||
}
|
||||
else
|
||||
warnx("add of dependency `%s' failed%s",
|
||||
p->name, Force ? " (proceeding anyway)" : "!");
|
||||
if (!Force)
|
||||
++code;
|
||||
else {
|
||||
warnx("add of dependency `%s' failed%s",
|
||||
p->name, Force ? " (proceeding anyway)" : "!");
|
||||
if (!Force)
|
||||
++code;
|
||||
}
|
||||
}
|
||||
else if ((cp = fileGetURL(pkg, p->name)) != NULL) {
|
||||
if (Verbose)
|
||||
|
|
Loading…
Reference in New Issue