From d55ab7716392740e736869e7a30dc61f78794c0a Mon Sep 17 00:00:00 2001 From: max Date: Sat, 11 Sep 1999 03:52:24 +0000 Subject: [PATCH] Document the fact that pkg_add/delete passes INSTALL/DEINSTALL respectively to rscript. --- usr.sbin/pkg_install/create/pkg_create.1 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/usr.sbin/pkg_install/create/pkg_create.1 b/usr.sbin/pkg_install/create/pkg_create.1 index c075bf977c78..59a5331cba1f 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