pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkg_leaves pkg_leaves-1.2: Silence error mess...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d761b5ddaf08
branches:  trunk
changeset: 556602:d761b5ddaf08
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Mar 23 00:31:15 2009 +0000

description:
pkg_leaves-1.2: Silence error messages from pkg_info.

diffstat:

 pkgtools/pkg_leaves/Makefile         |  4 ++--
 pkgtools/pkg_leaves/files/pkg_leaves |  2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r 39c9fd124798 -r d761b5ddaf08 pkgtools/pkg_leaves/Makefile
--- a/pkgtools/pkg_leaves/Makefile      Mon Mar 23 00:24:31 2009 +0000
+++ b/pkgtools/pkg_leaves/Makefile      Mon Mar 23 00:31:15 2009 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2008/05/21 15:24:40 tnn Exp $
+# $NetBSD: Makefile,v 1.3 2009/03/23 00:31:15 joerg Exp $
 
-DISTNAME=      pkg_leaves-1.1
+DISTNAME=      pkg_leaves-1.2
 CATEGORIES=    pkgtools
 MASTER_SITES=  # empty
 DISTFILES=     # empty
diff -r 39c9fd124798 -r d761b5ddaf08 pkgtools/pkg_leaves/files/pkg_leaves
--- a/pkgtools/pkg_leaves/files/pkg_leaves      Mon Mar 23 00:24:31 2009 +0000
+++ b/pkgtools/pkg_leaves/files/pkg_leaves      Mon Mar 23 00:31:15 2009 +0000
@@ -63,7 +63,7 @@
 ${PKG_INFO} -K "${PKG_DBDIR}" -e '*' | while read pkg; do
        if [ -z "`${PKG_INFO} -K "${PKG_DBDIR}" -q -R ${pkg}`" ]; then
                if [ ${skip_manual} = "yes" ]; then
-                       if [ "`${PKG_INFO} -K "${PKG_DBDIR}" -Q automatic ${pkg}`" != yes ]; then
+                       if [ "`${PKG_INFO} -K "${PKG_DBDIR}" -Q automatic ${pkg} 2> /dev/null`" != yes ]; then
                                continue
                        fi
                fi



Home | Main Index | Thread Index | Old Index