Date: Tue, 26 Apr 2016 13:44:11 -0400 From: Garrett Wollman <wollman@csail.mit.edu> To: Ben Woods <woodsb02@gmail.com> Cc: freebsd-pkgbase@freebsd.org Subject: Re: /etc/pkg/FreeBSD.conf being overwritten during pkg upgrade Message-ID: <22303.43243.357400.240656@khavrinen.csail.mit.edu> In-Reply-To: <CAOc73CAKbUTG=P-S2gFkmt5dWrjxRS7pzmXzoxVAvttBsdMDew@mail.gmail.com> References: <CAOc73CAKbUTG=P-S2gFkmt5dWrjxRS7pzmXzoxVAvttBsdMDew@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
<<On Tue, 26 Apr 2016 19:12:42 +0200, Ben Woods <woodsb02@gmail.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?22303.43243.357400.240656>