diff options
author | joerg <joerg@pkgsrc.org> | 2009-02-25 20:52:10 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-02-25 20:52:10 +0000 |
commit | afe5fbacdda91c740a280c100ac3cb63227c50ba (patch) | |
tree | 0055474bde95a8418c819c95abaa6e00d364fcb1 /pkgtools | |
parent | 0e2c588523241d6ab64e0dbec1fcbdb7f5b83ad7 (diff) | |
download | pkgsrc-afe5fbacdda91c740a280c100ac3cb63227c50ba.tar.gz |
Be silent if querying a variable and no installed information exists.
"pkg_info -Q automatic foo" should not bitch.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_install/files/info/perform.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgtools/pkg_install/files/info/perform.c b/pkgtools/pkg_install/files/info/perform.c index e3f4f6494a2..812fc2aa438 100644 --- a/pkgtools/pkg_install/files/info/perform.c +++ b/pkgtools/pkg_install/files/info/perform.c @@ -1,4 +1,4 @@ -/* $NetBSD: perform.c,v 1.51 2009/02/13 11:21:07 joerg Exp $ */ +/* $NetBSD: perform.c,v 1.52 2009/02/25 20:52:10 joerg Exp $ */ #if HAVE_CONFIG_H #include "config.h" @@ -13,7 +13,7 @@ #if HAVE_SYS_WAIT_H #include <sys/wait.h> #endif -__RCSID("$NetBSD: perform.c,v 1.51 2009/02/13 11:21:07 joerg Exp $"); +__RCSID("$NetBSD: perform.c,v 1.52 2009/02/25 20:52:10 joerg Exp $"); /*- * Copyright (c) 2008 Joerg Sonnenberger <joerg@NetBSD.org>. @@ -362,8 +362,6 @@ pkg_do(const char *pkg) == strlen(BuildInfoVariable)) { if (meta->meta_installed_info) show_var(meta->meta_installed_info, BuildInfoVariable); - else - warnx("Installation information missing"); } else { if (meta->meta_build_info) show_var(meta->meta_build_info, BuildInfoVariable); |