summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_install/create
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2003-08-21 20:24:58 +0000
committerMarc Espie <espie@cvs.openbsd.org>2003-08-21 20:24:58 +0000
commit03d67a3935b2050b48deeab6469966f06c031caf (patch)
tree50fccdd2300185f8392381e56713eb30c4f97a3b /usr.sbin/pkg_install/create
parentb53e4696177e3a83ac76f431b90d3bc1be2befcb (diff)
New keywords: @extra and @extraunexec.
Used to record extra files (configuration) and action, that will only be taken with pkg_delete -c.
Diffstat (limited to 'usr.sbin/pkg_install/create')
-rw-r--r--usr.sbin/pkg_install/create/pkg_create.116
1 files changed, 15 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/create/pkg_create.1 b/usr.sbin/pkg_install/create/pkg_create.1
index 408247686d3..09a3c768a49 100644
--- a/usr.sbin/pkg_install/create/pkg_create.1
+++ b/usr.sbin/pkg_install/create/pkg_create.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pkg_create.1,v 1.27 2003/08/15 00:03:22 espie Exp $
+.\" $OpenBSD: pkg_create.1,v 1.28 2003/08/21 20:24:56 espie Exp $
.\"
.\" FreeBSD install - a package for the installation and maintenance
.\" of non-core utilities.
@@ -376,6 +376,20 @@ directive is used, the directories are removed in the order specified.
The
.Pa name
directory will not be removed unless it is empty.
+.It Cm @extra Ar file
+Declare extra file
+.Pa file
+to be deleted at deinstall time, if user sets
+.Fl c
+option.
+Those files are extra configuration files that are normally not deleted.
+If
+.Pa file
+ends with a slash, it is a directory.
+.It Cm @extraunexec Ar command
+Extra
+.Ar command
+to execute when removing extra files.
.It Cm @mtree Ar name
Declare
.Pa name