Bug 253351 - Create local pkg repo directory before telling people to use it
Summary: Create local pkg repo directory before telling people to use it
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Mateusz Piotrowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-08 16:52 UTC by Ceri Davies
Modified: 2021-02-08 18:35 UTC (History)
1 user (show)

See Also:


Attachments
It's a patch (512 bytes, patch)
2021-02-08 16:52 UTC, Ceri Davies
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!