pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/bulk If a package is still up to date, it doesn't m...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/454df3aa870c
branches:  trunk
changeset: 507522:454df3aa870c
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Feb 03 20:47:06 2006 +0000

description:
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.)

diffstat:

 mk/bulk/bsd.bulk-pkg.mk |  10 +++-------
 1 files changed, 3 insertions(+), 7 deletions(-)

diffs (24 lines):

diff -r 201d8ee7e96a -r 454df3aa870c mk/bulk/bsd.bulk-pkg.mk
--- a/mk/bulk/bsd.bulk-pkg.mk   Fri Feb 03 20:35:50 2006 +0000
+++ b/mk/bulk/bsd.bulk-pkg.mk   Fri Feb 03 20:47:06 2006 +0000
@@ -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 <hubertf%NetBSD.org@localhost>
@@ -346,12 +346,8 @@
                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." ; \



Home | Main Index | Thread Index | Old Index