#!/bin/sh # # $FreeBSD: head/security/pear-Crypt_CBC/pkg-deinstall 340719 2014-01-22 15:52:06Z mat $ # # 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