summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/add/perform.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/pkg_install/add/perform.c')
-rw-r--r--usr.sbin/pkg_install/add/perform.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/add/perform.c b/usr.sbin/pkg_install/add/perform.c
index c391fee..499d6c6 100644
--- a/usr.sbin/pkg_install/add/perform.c
+++ b/usr.sbin/pkg_install/add/perform.c
@@ -278,6 +278,7 @@ pkg_do(char *pkg)
warnx("-f specified; proceeding anyway");
}
+#if ENSURE_THAT_ALL_REQUIREMENTS_ARE_MET
/*
* Before attempting to do the slave mode bit, ensure that we've
* downloaded & processed everything we need.
@@ -313,6 +314,7 @@ pkg_do(char *pkg)
}
}
}
+#endif
/* Now check the packing list for dependencies */
for (p = Plist.head; p ; p = p->next) {
OpenPOWER on IntegriCloud