diff options
author | thierry <thierry@FreeBSD.org> | 2004-11-23 00:45:26 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2004-11-23 00:45:26 +0800 |
commit | 5e474e8e840549af2a65a8f7fc1dbf3d527adb4a (patch) | |
tree | a4df2e0f73d13dc33e4f9297c6a140de49cd3b52 /devel/pear-PEAR/pkg-deinstall | |
parent | 3d05ec36397fb7f4da29c0bed0a9e30a038e238e (diff) | |
download | freebsd-ports-gnome-5e474e8e840549af2a65a8f7fc1dbf3d527adb4a.tar.gz freebsd-ports-gnome-5e474e8e840549af2a65a8f7fc1dbf3d527adb4a.tar.zst freebsd-ports-gnome-5e474e8e840549af2a65a8f7fc1dbf3d527adb4a.zip |
- update devel/pear-PEAR to 1.3.3.1;
- install pear script as pear2.
PR: ports/73995
Submitted by: maintainer.
Diffstat (limited to 'devel/pear-PEAR/pkg-deinstall')
-rw-r--r-- | devel/pear-PEAR/pkg-deinstall | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/devel/pear-PEAR/pkg-deinstall b/devel/pear-PEAR/pkg-deinstall index 79df94e800f9..c0cbc6c195fc 100644 --- a/devel/pear-PEAR/pkg-deinstall +++ b/devel/pear-PEAR/pkg-deinstall @@ -10,4 +10,13 @@ fi PKG_NAME=${1%%-[0-9._]*} PACKAGE=$(echo $PKG_NAME | sed 's/pear-//') -${PKG_PREFIX}/bin/pear uninstall -r -n ${PACKAGE} || true +PEAR=${PKG_PREFIX}/bin/pear +PEAR2=${PKG_PREFIX}/bin/pear2 + +if [ ${PKG_NAME} = "pear-PEAR" ]; then + PEAR_INSTALLER=${PEAR} +else + PEAR_INSTALLER=${PEAR2} +fi + +${PEAR_INSTALLER} uninstall -r -n ${PACKAGE} || true |