From 6fa278b4718c5bcd94491afed175fac3208580c2 Mon Sep 17 00:00:00 2001 From: rillig Date: Fri, 3 Feb 2006 20:47:06 +0000 Subject: If a package is still up to date, it doesn't matter if it is currently installed or not. So there is no need for two different messages. (They had been necessary in revision 1.1, though.) --- mk/bulk/bsd.bulk-pkg.mk | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'mk') diff --git a/mk/bulk/bsd.bulk-pkg.mk b/mk/bulk/bsd.bulk-pkg.mk index ab40c4af854..e5a0cf8e02d 100644 --- a/mk/bulk/bsd.bulk-pkg.mk +++ b/mk/bulk/bsd.bulk-pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.bulk-pkg.mk,v 1.113 2006/01/21 15:44:23 rillig Exp $ +# $NetBSD: bsd.bulk-pkg.mk,v 1.114 2006/02/03 20:47:06 rillig Exp $ # # Copyright (c) 1999, 2000 Hubert Feyrer @@ -346,12 +346,8 @@ bulk-package: installed=0; \ fi ; \ if [ $$uptodate = 1 ]; then \ - ( if [ $$installed = 1 ]; then \ - ${BULK_MSG} "Package ${PKGNAME} is up-to-date, and still installed" ; \ - else \ - ${BULK_MSG} "Nothing to be done." ; \ - fi \ - ) 2>&1 | ${TEE} -a ${_BUILDLOG:Q}; \ + { ${BULK_MSG} "Nothing to be done for ${PKGNAME}." ; \ + } 2>&1 | ${TEE} -a ${_BUILDLOG:Q}; \ else \ ( if [ $$installed = 1 ]; then \ ${BULK_MSG} "Removing outdated (installed) package ${PKGNAME} first." ; \ -- cgit v1.2.3