Source-Changes-HG archive

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

[src/netbsd-1-5]: src/usr.sbin/pkg_install/lib Pull up rev. 1.39 to netbsd-1-...



details:   https://anonhg.NetBSD.org/src/rev/0175656ba28a
branches:  netbsd-1-5
changeset: 489298:0175656ba28a
user:      hubertf <hubertf%NetBSD.org@localhost>
date:      Tue Aug 29 01:28:19 2000 +0000

description:
Pull up rev. 1.39 to netbsd-1-5 branch, OK'd by thorpej:
 > Hide "trying PKG_PATH ..." message, only print on -v

This makes pkg_add even via FTP as silent as it should be.

diffstat:

 usr.sbin/pkg_install/lib/file.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 8dddf8baedea -r 0175656ba28a usr.sbin/pkg_install/lib/file.c
--- a/usr.sbin/pkg_install/lib/file.c   Tue Aug 29 00:21:06 2000 +0000
+++ b/usr.sbin/pkg_install/lib/file.c   Tue Aug 29 01:28:19 2000 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: file.c,v 1.37.4.1 2000/07/13 03:15:37 hubertf Exp $    */
+/*     $NetBSD: file.c,v 1.37.4.2 2000/08/29 01:28:19 hubertf Exp $    */
 
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static const char *rcsid = "from FreeBSD Id: file.c,v 1.29 1997/10/08 07:47:54 charnier Exp";
 #else
-__RCSID("$NetBSD: file.c,v 1.37.4.1 2000/07/13 03:15:37 hubertf Exp $");
+__RCSID("$NetBSD: file.c,v 1.37.4.2 2000/08/29 01:28:19 hubertf Exp $");
 #endif
 #endif
 
@@ -408,7 +408,8 @@
        while (cp) {
                char   *cp2 = strsep(&cp, ";");
 
-               printf("trying PKG_PATH %s\n", cp2?cp2:cp);
+               if (Verbose)
+                       printf("trying PKG_PATH %s\n", cp2?cp2:cp);
 
                if (strstr(fname, ".tgz")) {
                        /* There's already a ".tgz" present, probably typed on the command line */



Home | Main Index | Thread Index | Old Index