Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/pkg_install/add document -u
details: https://anonhg.NetBSD.org/src/rev/f6b396b593a6
branches: trunk
changeset: 535329:f6b396b593a6
user: hubertf <hubertf%NetBSD.org@localhost>
date: Thu Aug 15 02:34:53 2002 +0000
description:
document -u
diffstat:
usr.sbin/pkg_install/add/pkg_add.1 | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diffs (40 lines):
diff -r 33062d117d28 -r f6b396b593a6 usr.sbin/pkg_install/add/pkg_add.1
--- a/usr.sbin/pkg_install/add/pkg_add.1 Thu Aug 15 01:38:16 2002 +0000
+++ b/usr.sbin/pkg_install/add/pkg_add.1 Thu Aug 15 02:34:53 2002 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: pkg_add.1,v 1.34 2002/07/31 01:39:40 jschauma Exp $
+.\" $NetBSD: pkg_add.1,v 1.35 2002/08/15 02:34:53 hubertf Exp $
.\"
.\" FreeBSD install - a package for the installation and maintainance
.\" of non-core utilities.
@@ -17,7 +17,7 @@
.\"
.\" @(#)pkg_add.1
.\"
-.Dd March 12, 2001
+.Dd August 15, 2002
.Dt PKG_ADD 1
.Os
.Sh NAME
@@ -207,6 +207,10 @@
to reside on the same disk partition as target directories for package
file installation; often this is
.Pa /usr .
+.It Fl u
+If the package that's being installed is already installed, either
+in the same or a different version, an update is performed.
+See below for a more detailed description of the process.
.It Fl V
Print version number and exit.
.It Fl v
@@ -262,7 +266,9 @@
file aside (if it exists), and by running
.Xr pkg_delete 1
on the installed package. Installation then procedes as if the package
-was not installed.
+was not installed, and restores the
+.Pa +REQUIRED_BY
+file afterwards.
.It
A check is made to determine if the package conflicts (from
.Cm @pkgcfl
Home |
Main Index |
Thread Index |
Old Index