From owner-freebsd-current Wed May 5 8:22:41 1999 Delivered-To: freebsd-current@freebsd.org Received: from ozz.etrust.ru (ozz.etrust.ru [195.2.84.116]) by hub.freebsd.org (Postfix) with ESMTP id 4A9ED15332 for ; Wed, 5 May 1999 08:22:04 -0700 (PDT) (envelope-from osa@etrust.ru) Received: from localhost (unknown [127.0.0.1]) by ozz.etrust.ru (Postfix) with ESMTP id 4BCE113F for ; Wed, 5 May 1999 15:21:57 +0000 (GMT) Date: Wed, 5 May 1999 19:21:57 +0400 (MSD) From: oZZ!!! To: current@FreeBSD.org Subject: little patch for pkg_info ? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello! Here is a little patch for /usr/src/usr.sbin/pkg_install/info/perform.c --- perform.c.orig Wed May 5 18:37:07 1999 +++ perform.c Wed May 5 19:16:36 1999 @@ -134,6 +134,9 @@ warnx("can't find package `%s' installed or in a file!", pkg); return 1; } + if (!strcmp (log_dir, "/var/db/pkg/.mkversion")) { + return 1; + } if (chdir(log_dir) == FAIL) { warnx("can't change directory to '%s'!", log_dir); return 1; What do think about? Rgdz, Sergey Osokin aka oZZ, osa@etrust.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message