Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 2021 18:34:14 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org
Subject:   git: 4bf990d288 - main - Ensure that /usr/local/etc/pkg/repos exists
Message-ID:  <202102081834.118IYExo015389@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by 0mp:

URL: https://cgit.FreeBSD.org/doc/commit/?id=4bf990d288f87e2b1781ed15e65334e91bb1e37f

commit 4bf990d288f87e2b1781ed15e65334e91bb1e37f
Author:     Ceri Davies <ceri@submonkey.net>
AuthorDate: 2021-02-08 18:32:23 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2021-02-08 18:32:23 +0000

    Ensure that /usr/local/etc/pkg/repos exists
    
    The directory /usr/local/etc/pkg/repos doesn't exist by default, so have
    it created in an example that will  otherwise fail.
    
    PR:             253351
---
 documentation/content/en/books/handbook/ports/_index.adoc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/documentation/content/en/books/handbook/ports/_index.adoc b/documentation/content/en/books/handbook/ports/_index.adoc
index a96a54ce11..17fb3863ef 100644
--- a/documentation/content/en/books/handbook/ports/_index.adoc
+++ b/documentation/content/en/books/handbook/ports/_index.adoc
@@ -302,6 +302,7 @@ To switch from quarterly to latest run the following commands:
 
 [source,bash]
 ....
+# mkdir -p /usr/local/etc/pkg/repos
 # cp /etc/pkg/FreeBSD.conf /usr/local/etc/pkg/repos/FreeBSD.conf
 ....
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102081834.118IYExo015389>