FreeBSD Porter's Handbook
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 | Home | Next
`pkg-install` | Up | `pkg-req`

For questions about the FreeBSD ports system, e-mail <ports@FreeBSD.org>.
For questions about this documentation, e-mail <doc@FreeBSD.org>.