customized /usr/share/skel

2003-11-21 Thread Dru

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?

Dru
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: customized /usr/share/skel

2003-11-21 Thread Jez Hancock
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/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: customized /usr/share/skel

2003-11-21 Thread Scott W
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?
Dru
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 

/usr/share/skel is apparently a directory for _examples_, made apparent 
by the file naming, eg dot.cshrc (instead of .cshrc).  Put your system 
wide files in /etc/skel/ and they'll be used as appropriate when new 
accounts are created, and should not be touched by any rebuilds.

Scott



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]