summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_leaves
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-03-23 00:31:15 +0000
committerjoerg <joerg@pkgsrc.org>2009-03-23 00:31:15 +0000
commit22edeaef0ab77156fcaa15e02cff5d7831e03e34 (patch)
tree7b51342746bc8cbe1f45413b44d858af26367445 /pkgtools/pkg_leaves
parentd2b9b13d3830a3c8a9f4587424232b15264903cf (diff)
downloadpkgsrc-22edeaef0ab77156fcaa15e02cff5d7831e03e34.tar.gz
pkg_leaves-1.2: Silence error messages from pkg_info.
Diffstat (limited to 'pkgtools/pkg_leaves')
-rw-r--r--pkgtools/pkg_leaves/Makefile4
-rw-r--r--pkgtools/pkg_leaves/files/pkg_leaves2
2 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkg_leaves/Makefile b/pkgtools/pkg_leaves/Makefile
index 347de003620..8e2738f9b7e 100644
--- a/pkgtools/pkg_leaves/Makefile
+++ b/pkgtools/pkg_leaves/Makefile
@@ -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 --git a/pkgtools/pkg_leaves/files/pkg_leaves b/pkgtools/pkg_leaves/files/pkg_leaves
index 5eb7b8869ea..075f037e32a 100644
--- a/pkgtools/pkg_leaves/files/pkg_leaves
+++ b/pkgtools/pkg_leaves/files/pkg_leaves
@@ -63,7 +63,7 @@ done
${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