diff options
author | jdolecek <jdolecek> | 2004-12-12 09:42:21 +0000 |
---|---|---|
committer | jdolecek <jdolecek> | 2004-12-12 09:42:21 +0000 |
commit | 01082d03ef8f07d8482c148207a3f915e2ba1e0b (patch) | |
tree | 340c5f0e2433b049082054a0186d1fb7b27e614d /www | |
parent | 61bcd96d8e2130974605b2611dd2908e9557b450 (diff) | |
download | pkgsrc-01082d03ef8f07d8482c148207a3f915e2ba1e0b.tar.gz |
abort do-install if pear upgrade fails
Diffstat (limited to 'www')
-rw-r--r-- | www/php4/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/php4/Makefile b/www/php4/Makefile index fa298f1b3db..35949f34945 100644 --- a/www/php4/Makefile +++ b/www/php4/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2004/11/27 14:00:08 jdolecek Exp $ +# $NetBSD: Makefile,v 1.40 2004/12/12 09:42:21 jdolecek Exp $ PKGNAME= php-${PHP_BASE_VERS} CATEGORIES+= lang @@ -52,7 +52,7 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/php.gif ${PREFIX}/share/php for p in ${UPGRADE_PKG}; do \ - ${PEAR_CMD} upgrade $$p; \ + ${PEAR_CMD} upgrade $$p || exit 1; \ done .include "../../mk/bsd.pkg.mk" |