(This would go to bugs@ but nothing I send there usually gets
commited.)
Index: perform.c
===================================================================
RCS file: /cvs/src/usr.sbin/pkg_install/add/perform.c,v
retrieving revision 1.20
diff -u -r1.20 perform.c
--- perform.c 2001/04/19 16:54:05 1.20
+++ perform.c 2001/08/30 22:33:28
@@ -253,7 +253,7 @@
if (findmatchingname(dbdir, buf, check_if_installed, installed)) {
pwarnx("other version '%s' already installed", installed);
- if (find_plist_option(&Plist, "no-default-conflict") != NULL) {
+ if (find_plist_option(&Plist, "no-default-conflict") != NULL ||
Force) {
pwarnx("proceeding with installation anyway");
} else {
code = 1;
Index: pkg_add.1
===================================================================
RCS file: /cvs/src/usr.sbin/pkg_install/add/pkg_add.1,v
retrieving revision 1.27
diff -u -r1.27 pkg_add.1
--- pkg_add.1 2001/08/17 11:13:58 1.27
+++ pkg_add.1 2001/08/30 22:33:29
@@ -120,7 +120,8 @@
you know what you are doing!
.It Fl f
Force installation to proceed even if prerequisite packages are not
-installed or the requirements script fails.
+installed, the requirements script fails, or another version of the
+package is already installed.
Although
.Nm
will still try to find and auto-install missing prerequisite packages,
|