pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/php4 abort do-install if pear upgrade fails
details: https://anonhg.NetBSD.org/pkgsrc/rev/d1501567a43d
branches: trunk
changeset: 485463:d1501567a43d
user: jdolecek <jdolecek%pkgsrc.org@localhost>
date: Sun Dec 12 09:42:21 2004 +0000
description:
abort do-install if pear upgrade fails
diffstat:
www/php4/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r e7609619a00e -r d1501567a43d www/php4/Makefile
--- a/www/php4/Makefile Sun Dec 12 09:41:14 2004 +0000
+++ b/www/php4/Makefile Sun Dec 12 09:42:21 2004 +0000
@@ -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 @@
${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"
Home |
Main Index |
Thread Index |
Old Index