-/* $OpenBSD: perform.c,v 1.11 1999/11/03 17:23:48 espie Exp $ */
+/* $OpenBSD: perform.c,v 1.12 2000/03/27 17:14:59 espie Exp $ */
#ifndef lint
-static const char *rcsid = "$OpenBSD: perform.c,v 1.11 1999/11/03 17:23:48 espie Exp $";
+static const char *rcsid = "$OpenBSD: perform.c,v 1.12 2000/03/27 17:14:59 espie Exp $";
#endif
/*
if (findmatchingname(dbdir, buf, check_if_installed, installed)) {
warnx("other version '%s' already installed", installed);
- code = 1;
- goto success; /* close enough for government work */
+ if (find_plist_option(&Plist, "no-default-conflict") != NULL) {
+ warnx("proceeding with installation anyway");
+ } else {
+ code = 1;
+ goto success; /* close enough for government work */
+ }
}
}
}
-.\" $OpenBSD: pkg_create.1,v 1.13 2000/03/27 17:09:02 espie Exp $
+.\" $OpenBSD: pkg_create.1,v 1.14 2000/03/27 17:15:00 espie Exp $
.\"
.\" FreeBSD install - a package for the installation and maintainance
.\" of non-core utilities.
be installed if
.Ar pkgname
package gets installed cause they install the same files and thus conflict.
+.Ar pkgcflname
+may use
+.Xr fnmatch 3
+wildcards.
.It Cm @option Ar name
Effects vary depending on
.Ar name .
-No options are documented yet.
+Some options are not documented yet.
+.Bl -tag -width indent
+.It Ar no-default-conflict
+By default, a package conflicts with other versions of the same package.
+With this option, the older package version will still be noticed, but the
+installation will proceed anyway.
+.El
.El
.Sh SEE ALSO
.Xr pkg_add 1 ,