1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

snuff warning message if package is not found in INDEX but is found

to be already installed anyway.
This commit is contained in:
Jordan K. Hubbard 1998-10-15 06:50:43 +00:00
parent 402b6be6ee
commit e05672bb19
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40372
2 changed files with 4 additions and 4 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.55 1998/09/23 12:13:47 jkh Exp $
* $Id: index.c,v 1.56 1998/10/13 07:31:37 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -601,7 +601,7 @@ index_extract_one(Device *dev, PkgNodePtr top, PkgNodePtr who, Boolean depended)
msgConfirm("Loading of dependant package %s failed", cp);
}
}
else {
else if (!package_exists(cp)) {
if (variable_get(VAR_NO_CONFIRM))
msgNotify("Warning: %s is a required package but was not found.", cp);
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.55 1998/09/23 12:13:47 jkh Exp $
* $Id: index.c,v 1.56 1998/10/13 07:31:37 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@ -601,7 +601,7 @@ index_extract_one(Device *dev, PkgNodePtr top, PkgNodePtr who, Boolean depended)
msgConfirm("Loading of dependant package %s failed", cp);
}
}
else {
else if (!package_exists(cp)) {
if (variable_get(VAR_NO_CONFIRM))
msgNotify("Warning: %s is a required package but was not found.", cp);
else