postinstall/profile.sh: pls consider testing for preexisting symbolic link

2003-01-10 Thread nicebounce
how about: if [ ! -f /etc/profile -a ! -L /etc/profile]; then cp -a /etc/profile.default /etc/profile fi Rightly or wrongly I setup /etc/profile as a symblic link to a network drive version of profile, so that several hosts share the same file. The postinstall/profile.sh

Re: postinstall/profile.sh: pls consider testing for preexisting symbolic link

2003-01-10 Thread Christopher Faylor
On Fri, Jan 10, 2003 at 10:57:03AM -0600, [EMAIL PROTECTED] wrote: how about: if [ ! -f /etc/profile -a ! -L /etc/profile]; then cp -a /etc/profile.default /etc/profile fi Rightly or wrongly I setup /etc/profile as a symblic link to a network drive version of profile, so that