Bug 253351

Summary: Create local pkg repo directory before telling people to use it
Product: Documentation Reporter: Ceri Davies <ceri>
Component: Books & ArticlesAssignee: Mateusz Piotrowski <0mp>
Status: Closed FIXED    
Severity: Affects Some People CC: 0mp
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
It's a patch none

Description Ceri Davies 2021-02-08 16:52:13 UTC
Created attachment 222271 [details]
It's a patch

The directory /usr/local/etc/pkg/repos doesn't exist by default, so have it created in an example that will  otherwise fail.
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-02-08 18:34:54 UTC
A commit in branch main references this bug:

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(+)
Comment 2 Mateusz Piotrowski freebsd_committer freebsd_triage 2021-02-08 18:35:50 UTC
That's a good addition to the docs. Thanks!