1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +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