From ce30a19b7cf02506c7d0222f4e8337077cb6c8c4 Mon Sep 17 00:00:00 2001 From: Masafumi Max NAKANE 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 c075bf977c7..59a5331cba1 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