1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-05 09:14:03 +00:00

Whine when a depended package can't be found at all, vs being found

but failing to load.
PR:		4959
This commit is contained in:
Jordan K. Hubbard 1997-11-13 11:44:42 +00:00
parent 5ae6fac1d7
commit 0985a5c811
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=31150
2 changed files with 14 additions and 2 deletions

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: index.c,v 1.50 1997/05/05 08:38:12 jkh Exp $
* $Id: index.c,v 1.51 1997/10/08 15:31:13 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -586,6 +586,12 @@ index_extract_one(Device *dev, PkgNodePtr top, PkgNodePtr who, Boolean depended)
msgConfirm("Loading of dependant package %s failed", cp);
}
}
else {
if (variable_get(VAR_NO_CONFIRM))
msgNotify("Warning: %s is a required package but was not found.", cp);
else
msgConfirm("Warning: %s is a required package but was not found.", cp);
}
if (cp2)
cp = cp2 + 1;
else

View File

@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
* $Id: index.c,v 1.50 1997/05/05 08:38:12 jkh Exp $
* $Id: index.c,v 1.51 1997/10/08 15:31:13 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -586,6 +586,12 @@ index_extract_one(Device *dev, PkgNodePtr top, PkgNodePtr who, Boolean depended)
msgConfirm("Loading of dependant package %s failed", cp);
}
}
else {
if (variable_get(VAR_NO_CONFIRM))
msgNotify("Warning: %s is a required package but was not found.", cp);
else
msgConfirm("Warning: %s is a required package but was not found.", cp);
}
if (cp2)
cp = cp2 + 1;
else