| 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 |
| X-Injected-Via-Gmane: | http://gmane.org/ |
| To: | cygwin AT cygwin DOT com |
| From: | Andrew DeFaria <ADeFaria AT Salira DOT com> |
| Subject: | Re: Upgrading Cygwin - postinstall difficulties? |
| Date: | Tue, 16 Sep 2003 10:30:25 -0700 |
| Lines: | 21 |
| Message-ID: | <bk7h8r$ap2$1@sea.gmane.org> |
| References: | <bk7ans$mum$1 AT sea DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 56 DOT 0309161149240 DOT 12411 AT slinky DOT cs DOT nyu DOT edu> <bk7d71$vpu$1 AT sea DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 56 DOT 0309161240230 DOT 12411 AT slinky DOT cs DOT nyu DOT edu> |
| Mime-Version: | 1.0 |
| X-Complaints-To: | usenet AT sea DOT gmane DOT org |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) |
| X-Accept-Language: | en-us, en, zh |
| In-Reply-To: | <Pine.GSO.4.56.0309161240230.12411@slinky.cs.nyu.edu> |
Igor Pechtchanski wrote: > This is not under setup's control. Postinstall scripts are written by > individual package maintainers. Most of them *are* reexecutable, or, > at least, don't do anything that can't be redone. Some, however, > modify existing state of the system, either in-place or conditionally > on the non-existence of this previous state (i.e., new install). In > both of > these cases, there's a potential for failure, and the scripts will > probably not be reexecutable. A list of such scripts might be a useful > thing to have in the archives. What I was saying is that the writers of postinstall scripts should be mindful that their scripts are re-runnable. And for the few instances where a postinstall script relies on things like the non-existence of a previous state that they should perhaps provide a option, say -reinstall, that would set the situation as if it was a new install. === Obligatory witty saying: Always remember you're unique... Just like everyone else. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |