On 20/08/2025 11:33, Dag-Erling Smørgrav wrote:
Miroslav Lachman <[email protected]> writes:
If there is one file for each repository, it can be managed using
simple tools such as cp / rm / sed to enable, disable or modify
repositories - good for scripted setups and automation.

The correct way to disable one of these repositories is to add

     repository-name: { enabled: false }

in a file in /usr/local/etc/pkg/repos.

As if turning it on and off were the only possible configuration change. We often change the URL or priority. And that's very easy to do using 'sed' if there is only one repository in a single file.

Kind regards
Miroslav Lachman

Reply via email to