From fc947fc9b3e9318691dc09fec979c2e5d3a3ef05 Mon Sep 17 00:00:00 2001 From: Max Date: Mon, 5 Dec 2022 20:46:53 +0100 Subject: [PATCH] packages/kubo: fix patching --- .../base/ipfs/ipfs-allow-publish-with-ipns-mounted.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/base/ipfs/ipfs-allow-publish-with-ipns-mounted.patch b/patches/base/ipfs/ipfs-allow-publish-with-ipns-mounted.patch index e133b2f..1b50d05 100644 --- a/patches/base/ipfs/ipfs-allow-publish-with-ipns-mounted.patch +++ b/patches/base/ipfs/ipfs-allow-publish-with-ipns-mounted.patch @@ -1,11 +1,11 @@ diff --git a/core/coreapi/coreapi.go b/core/coreapi/coreapi.go -index 5b638826b..32747fe53 100644 +index fb54917..9852989 100644 --- a/core/coreapi/coreapi.go +++ b/core/coreapi/coreapi.go -@@ -191,9 +191,6 @@ func (api *CoreAPI) WithOptions(opts ...options.ApiOption) (coreiface.CoreAPI, e +@@ -198,9 +198,6 @@ func (api *CoreAPI) WithOptions(opts ...options.ApiOption) (coreiface.CoreAPI, e } - subApi.checkPublishAllowed = func() error { + subAPI.checkPublishAllowed = func() error { - if n.Mounts.Ipns != nil && n.Mounts.Ipns.IsActive() { - return errors.New("cannot manually publish while IPNS is mounted") - }