aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/sysinstall/index.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/sysinstall/index.c')
-rw-r--r--usr.sbin/sysinstall/index.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/index.c b/usr.sbin/sysinstall/index.c
index 4ceea81e1088..6d465ed7a5cb 100644
--- a/usr.sbin/sysinstall/index.c
+++ b/usr.sbin/sysinstall/index.c
@@ -714,7 +714,7 @@ index_extract(Device *dev, PkgNodePtr top, PkgNodePtr who, Boolean depended)
msgConfirm("Loading of dependent package %s failed", cp);
}
}
- else if (!package_exists(cp)) {
+ else if (!package_installed(cp)) {
if (variable_get(VAR_NO_CONFIRM))
msgNotify("Warning: %s is a required package but was not found.", cp);
else