Document parameters passed to pkg-req script.

Reviewed by:	dd
This commit is contained in:
Anton Berezin 2001-07-14 20:56:36 +00:00
parent dde382c2b4
commit cf025b4ae5
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=9904

View file

@ -1,7 +1,7 @@
<!--
The FreeBSD Documentation Project
$FreeBSD: doc/en_US.ISO8859-1/books/porters-handbook/book.sgml,v 1.155 2001/07/08 01:09:49 dd Exp $
$FreeBSD: doc/en_US.ISO8859-1/books/porters-handbook/book.sgml,v 1.156 2001/07/13 07:33:25 dd Exp $
-->
<!DOCTYPE BOOK PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN" [
@ -2121,6 +2121,13 @@ diff -u -r1.15 pkg-plist
script. It will be invoked automatically at
installation/deinstallation time to determine whether or not
installation/deinstallation should proceed.</para>
<para>The script will be run at installation time by
<command>pkg_add</command> as
<literal>pkg-req &dollar;{PKGNAME} INSTALL</literal>.
At deinstallation time it will be run by
<command>pkg_delete</command> as
<literal>pkg-req &dollar;{PKGNAME} DEINSTALL</literal>.</para>
</sect1>
<sect1 id="porting-plist">