FreeBSD Port: ports-mgmt/pkg

Vladimir Chervinsky Vladimir.Chervinsky at autonit.spb.ru
Mon Jan 29 09:19:42 UTC 2018


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.

-------------- next part --------------
--- 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)


More information about the freebsd-pkg mailing list