summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1999-09-11 03:52:24 +0000
committermax <max@FreeBSD.org>1999-09-11 03:52:24 +0000
commitd55ab7716392740e736869e7a30dc61f78794c0a (patch)
tree6a942a77592588f077ad1b62db72586840e11dba /usr.sbin
parent198b4e0942360998029186d7ef0a476d68467661 (diff)
downloadFreeBSD-src-d55ab7716392740e736869e7a30dc61f78794c0a.zip
FreeBSD-src-d55ab7716392740e736869e7a30dc61f78794c0a.tar.gz
Document the fact that pkg_add/delete passes INSTALL/DEINSTALL
respectively to rscript.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_install/create/pkg_create.15
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/create/pkg_create.1 b/usr.sbin/pkg_install/create/pkg_create.1
index c075bf9..59a5331 100644
--- a/usr.sbin/pkg_install/create/pkg_create.1
+++ b/usr.sbin/pkg_install/create/pkg_create.1
@@ -179,6 +179,11 @@ procedure for the package. This can be any
executable program (or shell script). It will be invoked automatically
at installation/deinstallation time to determine whether or not
installation/deinstallation should proceed.
+To differentiate between installation and deinstallation, the keywords
+.Ar INSTALL
+and
+.Ar DEINSTALL
+are passed respectively, along with the package's name.
.It Fl s Ar srcdir
.Ar srcdir
will override the value of
OpenPOWER on IntegriCloud