1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/devel/pear/pear-deinstall.in
2011-07-07 12:17:05 +00:00

15 lines
215 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
# Remove package declaration from PEAR's registry.
if [ x$2 != xDEINSTALL ]; then
exit
fi
PACKAGE=%%PKG_NAME%%
PEAR=${PKG_PREFIX}/bin/pear
${PEAR} uninstall -r -n ${PACKAGE} || true