Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2003 18:01:22 +0000
From:      Jez Hancock <jez.hancock@munk.nu>
To:        questions@freebsd.org
Subject:   Re: customized /usr/share/skel
Message-ID:  <20031121180122.GC69747@users.munk.nu>
In-Reply-To: <20031121103130.W599@genisis>
References:  <20031121103130.W599@genisis>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 21, 2003 at 10:36:17AM -0500, Dru wrote:
> I'd like to customize /usr/share/skel. It's an easy matter to edit
> /usr/src/share/skel/Makefile and to make my own dot files.
> 
> However, will my customizations get overwritten when I make my next world?
> If so, what's the best way to go about preventing my files from being
> overwritten? e.g. should I place my custom Makefile and dot files in a
> different directory and rerun my Makefile after a successful install
> world?
How about changing the system immutable flags on the /usr/share/skel
files you don't want overwritten (chflags noschg)?  Not a perfect
solution but I don't know of any way that your aim can be achieved via
/etc/make.conf or similar.

Having said that, I haven't had any problems in the past with the make
world process overwriting my customized /usr/share/skel files - whether
or not that was because I used mergemaster in interactive mode and chose
not to overwrite those files I can't remember now.

-- 
Jez Hancock
 - System Administrator / PHP Developer

http://munk.nu/



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