git: 4bf990d288 - main - Ensure that /usr/local/etc/pkg/repos exists
Mateusz Piotrowski
0mp at FreeBSD.org
Mon Feb 8 18:34:14 UTC 2021
The branch main has been updated by 0mp:
URL: https://cgit.FreeBSD.org/doc/commit/?id=4bf990d288f87e2b1781ed15e65334e91bb1e37f
commit 4bf990d288f87e2b1781ed15e65334e91bb1e37f
Author: Ceri Davies <ceri at submonkey.net>
AuthorDate: 2021-02-08 18:32:23 +0000
Commit: Mateusz Piotrowski <0mp at 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
....
More information about the dev-commits-doc-all
mailing list