On Tuesday, 26 April 2016, Garrett Wollman <[email protected]> wrote:

> <<On Tue, 26 Apr 2016 19:12:42 +0200, Ben Woods <[email protected]
> <javascript:;>> said:
>
> > One minor problem I have noticed is that each time I do a "pkg upgrade -r
> > FreeBSD-base" it is overwriting /etc/pkg/FreeBSD.conf which I have edited
> > to disable the default repository. My expectation is that configuration
> > files should have a 3 way merge to maintain my local edits, rather than
> > overwriting them.
>
> Ben, I believe the official supported way to do this is to put your
> changes into /usr/local/etc/pkg/repos/FreeBSD.conf instead -- whatever
> is in there will override the files in /etc.
>
> -GAWollman
>

* face palm *

Thanks Garrett. Reading the contents of /etc/pkg/FreeBSD.conf a bit closer,
it does clearly state that!

Thanks for pointing that out.

Regards,
Ben


-- 

--
From: Benjamin Woods
[email protected]
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase
To unsubscribe, send any mail to "[email protected]"

Reply via email to