diff options
author | jkh <jkh@FreeBSD.org> | 1996-08-20 21:27:18 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-08-20 21:27:18 +0000 |
commit | b4c0b275790ec3cae28065b1f5d8f1af7c0a0344 (patch) | |
tree | 58423992e6aded2fceaf5ee7f24837a68179b909 /usr.sbin/pkg_install | |
parent | 767f6dad9afa95702ccceba3f4a4a0df433c6ad2 (diff) | |
download | FreeBSD-src-b4c0b275790ec3cae28065b1f5d8f1af7c0a0344.zip FreeBSD-src-b4c0b275790ec3cae28065b1f5d8f1af7c0a0344.tar.gz |
Clean up the english a little, having made the mistake of reading it.
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r-- | usr.sbin/pkg_install/add/pkg_add.1 | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/usr.sbin/pkg_install/add/pkg_add.1 b/usr.sbin/pkg_install/add/pkg_add.1 index 226db0c..8aa66d1 100644 --- a/usr.sbin/pkg_install/add/pkg_add.1 +++ b/usr.sbin/pkg_install/add/pkg_add.1 @@ -99,9 +99,10 @@ by this flag. Note that only the first directive will be replaced, since .Nm has no way of knowing which directory settings are relative and -which are absolute. It is rare, in any case, to see more than one -directory transition made, but when such is the case you -may then wish to look into the use of the +which are absolute. It is rare in any case to see more than one +directory transition made, but when such does happen and you wish +to have control over *all* directory transitions, then you +may then wish to look into the use of .Cm MASTER and .Cm SLAVE @@ -167,7 +168,8 @@ in the staging area, the location of which is read as a string from stdin. The complete packing list is also read from stdin, and the contents then acted on as normal. .El -On or more +.Pp +One or more .Ar pkg-name arguments may be specified, each being either a file containing the package (these usually ending with the ``.tgz'' suffix) or a @@ -196,7 +198,7 @@ ftp. .Sh TECHNICAL DETAILS .Nm is fairly simple. It extracts each packages' "packing list" -into a special staging directory in /tmp (or $PKG_TMPDIR), parses it, +into a special staging directory in /tmp (or $PKG_TMPDIR if set), parses it, then runs through the following sequence to fully extract the contents: .Bl -enum -indent indent .It @@ -229,27 +231,28 @@ file (see .Xr pkg_create 1 ), then execute it with the following arguments: .Bd -filled -offset indent -compact -.Ar <pkg-name> +.Ar pkg-name .Ar INSTALL .Ed where -.Ar <pkg-name> -is the name of the package in question and +.Ar pkg-name +is the name of the package in question and the .Ar INSTALL -is simply a keyword denoting that this is an installation requirements check. +keyword denotes this as an installation requirements check (useful if +you want to have one script serving multiple functions). .It If an .Ar install script exists for the package, it is then executed with the following arguments: .Bd -filled -offset indent -compact -.Ar <pkg-name> +.Ar pkg-name .Ar PRE-INSTALL .Ed where -.Ar <pkg-name> +.Ar pkg-name is the name of the package in question and .Ar PRE-INSTALL -is a keyword denoting that this is the preinstallation phase. +is a keyword denoting this as the preinstallation phase. .It If .Cm @option extract-in-place @@ -260,11 +263,9 @@ the staging area into their final locations. .It If the package contains an .Ar mtreefile -file (see the -.Fl m -option to +file (see .Xr pkg_create 1 ), -then mtree is invoked as +then mtree is invoked as: .Bd -filled -offset indent -compact .Cm mtree .Fl u @@ -289,8 +290,8 @@ If an .Ar install script exists for the package, it is then executed as .Bd -filled -offset indent -compact -.Cm <script> -.Ar <pkg-name> +.Cm script +.Ar pkg-name .Ar POST-INSTALL .Ed This all allows you to write a single @@ -333,9 +334,9 @@ flag to .Sh AUTHORS .Bl -tag -width indent -compact .It "Jordan Hubbard" -most of the work +Initial work and ongoing development. .It "John Kohl" -refined it for NetBSD +NetBSD refinements. .El .Sh BUGS Hard links between files in a distribution are only preserved if either |