8.3. `pkg-deinstall`
Prev | Chapter 8. The `pkg-`*`` Files | Next

## 8.3. `pkg-deinstall`

This script executes when a package is removed.

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

Prev | Up | Next
8.2. `pkg-install` | Home | 8.4. `pkg-req`

This, and other documents, can be downloaded from http://ftp.FreeBSD.org/pub/FreeBSD/doc/

For questions about FreeBSD, read the documentation before contacting <questions@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.