aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pear-PEAR/pkg-deinstall
diff options
context:
space:
mode:
Diffstat (limited to 'devel/pear-PEAR/pkg-deinstall')
-rw-r--r--devel/pear-PEAR/pkg-deinstall5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/pear-PEAR/pkg-deinstall b/devel/pear-PEAR/pkg-deinstall
index c0cbc6c195fc..94de0bfd249e 100644
--- a/devel/pear-PEAR/pkg-deinstall
+++ b/devel/pear-PEAR/pkg-deinstall
@@ -13,7 +13,10 @@ PACKAGE=$(echo $PKG_NAME | sed 's/pear-//')
PEAR=${PKG_PREFIX}/bin/pear
PEAR2=${PKG_PREFIX}/bin/pear2
-if [ ${PKG_NAME} = "pear-PEAR" ]; then
+if [ ${PACKAGE} = "PEAR" ] \
+|| [ ${PACKAGE} = "Archive_Tar" ] \
+|| [ ${PACKAGE} = "Console_Getopt" ] \
+|| [ ${PACKAGE} = "XML_RPC" ]; then
PEAR_INSTALLER=${PEAR}
else
PEAR_INSTALLER=${PEAR2}