Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/pkg_install/info Don't warn about PKG_PATH being se...



details:   https://anonhg.NetBSD.org/src/rev/da5cab7ce672
branches:  trunk
changeset: 534858:da5cab7ce672
user:      hubertf <hubertf%NetBSD.org@localhost>
date:      Sun Aug 04 19:43:08 2002 +0000

description:
Don't warn about PKG_PATH being set when -e is given

diffstat:

 usr.sbin/pkg_install/info/main.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 6a2102a214e3 -r da5cab7ce672 usr.sbin/pkg_install/info/main.c
--- a/usr.sbin/pkg_install/info/main.c  Sun Aug 04 18:06:54 2002 +0000
+++ b/usr.sbin/pkg_install/info/main.c  Sun Aug 04 19:43:08 2002 +0000
@@ -1,11 +1,11 @@
-/*     $NetBSD: main.c,v 1.30 2002/07/19 19:04:37 yamt Exp $   */
+/*     $NetBSD: main.c,v 1.31 2002/08/04 19:43:08 hubertf Exp $        */
 
 #include <sys/cdefs.h>
 #ifndef lint
 #if 0
 static char *rcsid = "from FreeBSD Id: main.c,v 1.14 1997/10/08 07:47:26 charnier Exp";
 #else
-__RCSID("$NetBSD: main.c,v 1.30 2002/07/19 19:04:37 yamt Exp $");
+__RCSID("$NetBSD: main.c,v 1.31 2002/08/04 19:43:08 hubertf Exp $");
 #endif
 #endif
 
@@ -179,7 +179,7 @@
        argc -= optind;
        argv += optind;
 
-       if (argc == 0 && !Flags) {
+       if (argc == 0 && !Flags && !CheckPkg) {
                /* No argument or flags specified - assume -Ia */
                Flags = SHOW_INDEX;
                AllInstalled = TRUE;



Home | Main Index | Thread Index | Old Index