customized /usr/share/skel

Jez Hancock jez.hancock at munk.nu
Fri Nov 21 10:01:24 PST 2003


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/


More information about the freebsd-questions mailing list