mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
3e58e0c900
PEAR classes to create and decode MIME messages. PR: ports/48121 Submitted by: Thierry Thomas <thierry@pompo.net>
14 lines
246 B
Bash
14 lines
246 B
Bash
#!/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
|