summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install/files/delete/pkg_delete.cat1
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/pkg_install/files/delete/pkg_delete.cat1')
-rw-r--r--pkgtools/pkg_install/files/delete/pkg_delete.cat113
1 files changed, 10 insertions, 3 deletions
diff --git a/pkgtools/pkg_install/files/delete/pkg_delete.cat1 b/pkgtools/pkg_install/files/delete/pkg_delete.cat1
index 91c2c00298f..309432c83fc 100644
--- a/pkgtools/pkg_install/files/delete/pkg_delete.cat1
+++ b/pkgtools/pkg_install/files/delete/pkg_delete.cat1
@@ -5,7 +5,8 @@ NNAAMMEE
age distributions
SSYYNNOOPPSSIISS
- ppkkgg__ddeelleettee [--DDddFFffNNnnOORRrrVVvv] [--KK _p_k_g___d_b_d_i_r] [--pp _p_r_e_f_i_x] _p_k_g_-_n_a_m_e _._._.
+ ppkkgg__ddeelleettee [--DDddFFffNNnnOORRrrVVvv] [--KK _p_k_g___d_b_d_i_r] [--PP _d_e_s_t_d_i_r] [--pp _p_r_e_f_i_x]
+ _p_k_g_-_n_a_m_e _._._.
DDEESSCCRRIIPPTTIIOONN
The ppkkgg__ddeelleettee command is used to delete packages that have been previ-
@@ -72,6 +73,11 @@ OOPPTTIIOONNSS
--OO Only delete the package's entries from the package database, do
not touch the package or its files itself.
+ --pp _d_e_s_t_d_i_r
+ Prefix all file and directory names with _d_e_s_t_d_i_r. For packages
+ without install scripts this has the same behavior as using
+ chroot.
+
--pp _p_r_e_f_i_x
Set _p_r_e_f_i_x as the directory in which to delete files from any
installed packages which do not explicitly set theirs. For most
@@ -136,7 +142,8 @@ TTEECCHHNNIICCAALL DDEETTAAIILLSS
The scripts are also called with the PKG_METADATA_DIR environment vari-
able set to the location of the _+_* meta-data files, and with the
PKG_REFCOUNT_DBDIR environment variable set to the location of the pack-
- age reference counts database directory.
+ age reference counts database directory. If the --PP flag was given to
+ ppkkgg__ddeelleettee, PKG_DESTDIR will be set to _d_e_s_t_d_i_r.
EENNVVIIRROONNMMEENNTT
PKG_DBDIR If the --KK flag isn't given, then PKG_DBDIR is the location of
@@ -162,4 +169,4 @@ AAUUTTHHOORRSS
NetBSD wildcard dependency processing, pkgdb, recursive "down"
delete, etc.
-NetBSD 4.0 March 2, 2007 NetBSD 4.0
+NetBSD 4.0 July 30, 2008 NetBSD 4.0