git: 4bf990d288 - main - Ensure that /usr/local/etc/pkg/repos exists

Mateusz Piotrowski <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by 0mp:

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

commit 4bf990d288f87e2b1781ed15e65334e91bb1e37f
Author:     Ceri Davies <[email protected]>
AuthorDate: 2021-02-08 18:32:23 +0000
Commit:     Mateusz Piotrowski <[email protected]>
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
 ....
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.