summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/delete/pkg_delete.1
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-12-27 15:30:30 +0000
committerru <ru@FreeBSD.org>2000-12-27 15:30:30 +0000
commit4bb5f49662398b2c716ed1737fb2ad4ca436335d (patch)
treef1468f2d922f425fb0e1dc0ae9c5629ea3d7baf7 /usr.sbin/pkg_install/delete/pkg_delete.1
parent6c6a7d37868897a158286c6ca08baf40fb719d09 (diff)
downloadFreeBSD-src-4bb5f49662398b2c716ed1737fb2ad4ca436335d.zip
FreeBSD-src-4bb5f49662398b2c716ed1737fb2ad4ca436335d.tar.gz
Prepare for mdoc(7)NG.
Diffstat (limited to 'usr.sbin/pkg_install/delete/pkg_delete.1')
-rw-r--r--usr.sbin/pkg_install/delete/pkg_delete.114
1 files changed, 6 insertions, 8 deletions
diff --git a/usr.sbin/pkg_install/delete/pkg_delete.1 b/usr.sbin/pkg_install/delete/pkg_delete.1
index fb7f4b6..e50f57e 100644
--- a/usr.sbin/pkg_install/delete/pkg_delete.1
+++ b/usr.sbin/pkg_install/delete/pkg_delete.1
@@ -63,7 +63,6 @@ directives, and/or use the
.Xr pkg_info 1
command to examine the installed package control files.
.Ef
-
.Sh OPTIONS
The following command line options are supported:
.Bl -tag -width indent
@@ -96,8 +95,6 @@ the package.
Force removal of the package, even if a dependency is recorded or the
deinstall or require script fails.
.El
-
-.Pp
.Sh TECHNICAL DETAILS
.Nm
does pretty much what it says. It examines installed package records in
@@ -156,7 +153,7 @@ where
is the name of the package in question and
.Ar DEINSTALL
is a keyword denoting this as the pre-deinstallation phase.
-
+.Pp
.Cm Note:
The
.Ar DEINSTALL
@@ -176,7 +173,7 @@ all files are removed. It is this script's responsibility to clean up any
additional messy details around the package's installation, and leave the
system (hopefully) in the same state that it was prior to the installation
of the package.
-
+.Pp
The
.Nm post-deinstall
script is called as:
@@ -190,7 +187,7 @@ where
is the name of the package in question and
.Ar POST-DEINSTALL
is a keyword denoting this as the post-deinstallation phase.
-
+.Pp
.Cm Note:
The
.Ar POST-DEINSTALL
@@ -201,14 +198,14 @@ and
.Cm Fl K
flags to
.Xr pkg_create 1 ).
-
+.Pp
Reasoning behind passing keywords such as
.Ar DEINSTALL
and
.Ar POST-DEINSTALL
is that it lets you potentially write only one program/script that handles
all aspects of installation and deletion.
-
+.Pp
But experience has proved that this is a lot more difficult to maintain and
is not as advantageous as having separate scripts that handle each aspect of
installation and deinstallation.
@@ -233,6 +230,7 @@ specifies an alternative location for the installed package database.
.Bl -tag -width /var/db/pkg -compact
.It Pa /var/db/pkg
Default location of the installed package database.
+.El
.Sh SEE ALSO
.Xr pkg_add 1 ,
.Xr pkg_create 1 ,
OpenPOWER on IntegriCloud