In section 13.3, the pkg-deinstall file is described as:

"This script will be run twice by pkg_delete(1). The first time as
   ${SH} pkg-install ${PKGNAME} DEINSTALL and the second time as ${SH}
   pkg-install ${PKGNAME} POST-DEINSTALL."

I don't see how the pkg-deinstall file could be run as pkg-install then
s/pkg-install/pkg-deinstall/
This commit is contained in:
Stephane Legrand 2004-10-27 13:54:47 +00:00
parent 0fa760213e
commit 84a4762814
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=22701

View file

@ -5025,9 +5025,9 @@ ${PREFIX}/man/ja/man4/baz.4.gz</programlisting>
<para>
This script will be run twice by &man.pkg.delete.1;.
The first time as <literal>&dollar;{SH} pkg-install &dollar;{PKGNAME}
The first time as <literal>&dollar;{SH} pkg-deinstall &dollar;{PKGNAME}
DEINSTALL</literal> and the second time as
<literal>&dollar;{SH} pkg-install &dollar;{PKGNAME} POST-DEINSTALL</literal>.
<literal>&dollar;{SH} pkg-deinstall &dollar;{PKGNAME} POST-DEINSTALL</literal>.
</para>
</sect1>