Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2018 12:15:45 +0300
From:      Vladimir Chervinsky <Vladimir.Chervinsky@autonit.spb.ru>
To:        pkg@FreeBSD.org
Subject:   FreeBSD Port: ports-mgmt/pkg
Message-ID:  <042f75bf-07f1-3b01-6e05-f25047e37114@autonit.spb.ru>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Dear,

I think, the pkg register run not properly. It test installed package 
and return error if it set. I send path corrected this for pkg 1.10.4.

-- 
Best regards
Vladimir Chervinsky

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


[-- Attachment #2 --]
--- libpkg/pkg_ports.c.orig	2018-01-06 23:30:16.000000000 +0000
+++ libpkg/pkg_ports.c	2018-01-29 08:42:38.252632000 +0000
@@ -1289,9 +1289,11 @@
 	UT_string *message;
 	struct pkg_message *msg;
 
+#if 0
 	if (pkg_is_installed(db, pkg->name) != EPKG_END) {
 		return(EPKG_INSTALLED);
 	}
+#endif
 
 	location = reloc;
 	if (pkg_rootdir != NULL)
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?042f75bf-07f1-3b01-6e05-f25047e37114>