| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4A3D74FC.1000103@aim.com> |
| Date: | Sat, 20 Jun 2009 19:47:08 -0400 |
| From: | Mark Harig <idirectscm AT aim DOT com> |
| User-Agent: | Thunderbird 2.0.0.21 (X11/20090320) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Cygwin 1.7: Possible error in /etc/postinstall/rxvt.sh |
| X-AOL-IP: | 205.188.169.199 |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
>
> That having been said...rxvt is stealing a march by assuming
> /etc/X11/app-defaults/ exists. It's not clear -- if all the other
> packages did it the "rxvt way" -- WHO exactly should be responsible for
> creating the directory.
>
>
1. 'rxvt' is advertised as being available without X, so
it cannot depend on X installation actions, can it?
2. What are packages' responsibilities are with respect
to 'setup.exe'? Naive users should be able to install
the base set of packages without any errors appearing
in /var/log/setup.log*, correct? And they should be
able immediately upon successfully installing the base
set of packages, be able to un-install that set of packages
without any errors appearing in /var/log/setup.log, I
would expect.
3. If each of the packages was during installation to adopt the
responsibility of:
- Checking for every directory it needs
- If the directory (tree) does not exist, create it
- Populating the directories with the files it uses
and then during un-installation, un-do what it did
during installation:
- Remove any (non-modified configuration) files
- Remove any directory (trees) that it created
during installation (using
'rmdir --ignore-fail-on-non-empty')
then 'setup.exe' ought to be able to install/uninstall
reproducibly without errors.
> I'll enhance the rxvt postinstall script to handle that in a future release.
>
Thank you.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |