www.delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Fri, 10 Jan 2003 10:57:03 -0600 |
From: | nicebounce AT trodman DOT com |
Message-Id: | <200301101657.h0AGv3c25610@tigris.pounder.sol.net> |
X-Authentication-Warning: | tigris.pounder.sol.net: rodmant set sender to nicebounce AT trodman DOT com (Tom Rodman) using -f |
To: | cygwin AT cygwin DOT com |
Cc: | |
X-note: | 1G0!G/usr/sbin/sendmail -v -t -f"nicebounce AT trodman DOT com (Tom Rodman)" # for less traceable mail |
X-note: | careful "From:" is autocreated by sendmail, unless you define it- then even your bogus def is honored |
Subject: | postinstall/profile.sh: pls consider testing for preexisting symbolic link |
Mime-Version: | 1.0 |
-------- 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 leaves the link but then copies in the default profile, so I have to manually delete it. So, in general should there be a check for a symbolic link also as shown above. Just a thought. thanks, Tom -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |