Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 May 1999 19:21:57 +0400 (MSD)
From:      oZZ!!! <osa@etrust.ru>
To:        current@FreeBSD.org
Subject:   little patch for pkg_info ?
Message-ID:  <Pine.BSF.4.10.9905051918290.1019-100000@ozz.etrust.ru>

next in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9905051918290.1019-100000>