summaryrefslogtreecommitdiffstats
path: root/security/pear-Auth_SASL/pkg-deinstall
blob: c17e9d19ced020d94331f9b4247a78c010901851 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
#
# $FreeBSD$
#
# Remove package declaration from PEAR's registry.

if [ x$2 != xDEINSTALL ]; then
    exit
fi
PKG_NAME=${1%%-[0-9._]*}
PACKAGE=$(echo $PKG_NAME | sed 's/pear-//')

${PKG_PREFIX}/bin/pear uninstall -r ${PACKAGE} || true
OpenPOWER on IntegriCloud