aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/index.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1998-10-15 06:50:43 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1998-10-15 06:50:43 +0000
commite05672bb19edc52739956703d8f305f78718c321 (patch)
tree6d6d312793c22b4ea6f8b60cb087c71ed5b54060 /usr.sbin/sysinstall/index.c
parent402b6be6ee80ea5f0a14c2230649628dac0c8b3c (diff)
downloadsrc-e05672bb19edc52739956703d8f305f78718c321.tar.gz
src-e05672bb19edc52739956703d8f305f78718c321.zip
snuff warning message if package is not found in INDEX but is found
to be already installed anyway.
Notes
Notes: svn path=/head/; revision=40372
Diffstat (limited to 'usr.sbin/sysinstall/index.c')
-rw-r--r--usr.sbin/sysinstall/index.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/index.c b/usr.sbin/sysinstall/index.c
index 51619674439b..5d44d651ac11 100644
--- a/usr.sbin/sysinstall/index.c
+++ b/usr.sbin/sysinstall/index.c
@@ -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