diff options
| author | Sheldon Hearn <sheldonh@FreeBSD.org> | 2000-03-01 14:09:25 +0000 |
|---|---|---|
| committer | Sheldon Hearn <sheldonh@FreeBSD.org> | 2000-03-01 14:09:25 +0000 |
| commit | f2e366a1057c0492a8abdf936898879a630e633e (patch) | |
| tree | bd399ef474619a212390cbff31b25daa4aa003b5 /usr.sbin/pkg_install | |
| parent | b825cbde0301c29a6c8930a8f64e291fdcda8606 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/pkg_install')
| -rw-r--r-- | usr.sbin/pkg_install/add/pkg_add.1 | 15 | ||||
| -rw-r--r-- | usr.sbin/pkg_install/create/pkg_create.1 | 12 | ||||
| -rw-r--r-- | usr.sbin/pkg_install/version/pkg_version.1 | 9 |
3 files changed, 24 insertions, 12 deletions
diff --git a/usr.sbin/pkg_install/add/pkg_add.1 b/usr.sbin/pkg_install/add/pkg_add.1 index 670e3d1d6dde..9f9051ce7859 100644 --- a/usr.sbin/pkg_install/add/pkg_add.1 +++ b/usr.sbin/pkg_install/add/pkg_add.1 @@ -71,7 +71,8 @@ The following command line arguments are supported: .It Ar pkg-name [... pkg-name] The named packages are installed. A package name of - will cause .Nm -to read from stdin. If the packages are not found in the current +to read from stdin. +If the packages are not found in the current working directory, .Nm will search them in each directory named by @@ -89,7 +90,8 @@ Do not record the installation of a package. This means that you cannot deinstall it later, so only use this option if you know what you are doing! .It Fl r -Use the remote fetching feature. This will determine the appropriate +Use the remote fetching feature. +This will determine the appropriate objformat and release and then fetch and install the package. .It Fl f Force installation to proceed even if prerequisite packages are not @@ -344,7 +346,8 @@ is that this allows you to write a single .Ar install script that does both .Dq before and after -actions. But, separating the +actions. +But, separating the functionality is more advantageous and easier from a maintainence viewpoint. .It After installation is complete, a copy of the packing list, @@ -378,7 +381,8 @@ The value of the .Ev PKG_PATH is used if a given package can't be found. The environment variable should be a series of entries seperated by colons. Each entry -consists of a directory name. The current directory may be indicated +consists of a directory name. +The current directory may be indicated implicitly by an empty directory name, or explicitly by a single period. .Pp @@ -407,7 +411,8 @@ The environment variable .Ev PACKAGESITE specifies an alternate location for .Nm -to fetch from. This variable subverts the automatic directory logic +to fetch from. +This variable subverts the automatic directory logic that .Nm uses when the diff --git a/usr.sbin/pkg_install/create/pkg_create.1 b/usr.sbin/pkg_install/create/pkg_create.1 index 3407210c3f72..4ecc921ec93c 100644 --- a/usr.sbin/pkg_install/create/pkg_create.1 +++ b/usr.sbin/pkg_install/create/pkg_create.1 @@ -110,7 +110,8 @@ Set .Ar iscript to be the pre-install procedure for the package. This can be any executable program (or shell script). It will be invoked automatically when the -package is later installed. It will be passed the package's name as the +package is later installed. +It will be passed the package's name as the first argument. .Cm Note: @@ -128,7 +129,8 @@ Set .Ar piscript to be the post-install procedure for the package. This can be any executable program (or shell script). It will be invoked automatically -when the package is later installed. It will be passed the package's name as +when the package is later installed. +It will be passed the package's name as the first argument. .It Fl P Ar pkgs Set the initial package dependency list to @@ -149,7 +151,8 @@ Set .Ar dscript to be the de-install procedure for the package. This can be any executable program (or shell script). It will be invoked automatically when the -package is later (if ever) de-installed. It will be passed the package's +package is later (if ever) de-installed. +It will be passed the package's name as the first argument. .Cm Note: @@ -167,7 +170,8 @@ Set .Ar pdscript to be the post-deinstall procedure for the package. This can be any executable program (or shell script). It will be invoked automatically when -the package is later de-installed. It will be passed the package's name as +the package is later de-installed. +It will be passed the package's name as the first argument. .It Fl r Ar rscript diff --git a/usr.sbin/pkg_install/version/pkg_version.1 b/usr.sbin/pkg_install/version/pkg_version.1 index ce50745444ed..efb1130ebafe 100644 --- a/usr.sbin/pkg_install/version/pkg_version.1 +++ b/usr.sbin/pkg_install/version/pkg_version.1 @@ -126,11 +126,13 @@ the version numbers in the on-line ports collection: .Dl % pkg_version ftp://ftp.FreeBSD.org/pub/FreeBSD/ports-current/INDEX .Pp The command below generates a file of commands to run to update the installed -files. It is +files. +It is .Bf Em not .Ef -suggested that you run these commands automatically. Always review the +suggested that you run these commands automatically. +Always review the suggestions, and then cut-and-paste (or retype) the commands you want to run. .Pp .Dl % pkg_version -c > do_update @@ -150,7 +152,8 @@ Updates to packages that don't change the version number (e.g. small delta bugfixes in the package/port itself) aren't detected. .Pp -Commands output doesn't know about dependencies between packages. For +Commands output doesn't know about dependencies between packages. +For example, you might have two versions of Tcl installed because two other packages require the different versions. .Nm |
