Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Mar 2024 11:14:25 +0100
From:      Baptiste Daroussin <bapt@freebsd.org>
To:        Lexi Winter <lexi@le-fay.org>
Cc:        freebsd-pkgbase@freebsd.org
Subject:   Re: pkgbase and config file merges
Message-ID:  <o54dtqdkvvemtvvvf6xw3yoj7bbje2teip4rlhwyjzlbxakhm6@be5hddb6byua>
In-Reply-To: <ZeKucEQtR0OPjF_F@ilythia.eden.le-fay.org>

index | next in thread | previous in thread | raw e-mail

On Sat, Mar 02, 2024 at 04:43:28AM +0000, Lexi Winter wrote:
> hello,
> 
> could someone briefly explain how pkgbase handles merging of
> configuration files, for example /etc/master.passwd?  does pkg have a
> built-in 3-way-merge system similar to etcupdate(8) to handle this, or
> is it done another way?
> 
> 	thanks, lexi.


Pkg has 3-way merge code, so it is similar to etcupdate(8) provided the file is
properly marked as a config file i the source tree which is the case of
master.passwd

Best regards,
Bapt


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?o54dtqdkvvemtvvvf6xw3yoj7bbje2teip4rlhwyjzlbxakhm6>