This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin 1.7: Possible error in /etc/postinstall/rxvt.sh
- From: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- To: cygwin at cygwin dot com
- Date: Sat, 20 Jun 2009 18:03:19 -0400
- Subject: Re: Cygwin 1.7: Possible error in /etc/postinstall/rxvt.sh
- References: <4A3D44B3.90401@aim.com>
Mark Harig wrote:
> Is the 'rxvt' package responsible for creating these
> missing directories?
Well, *I* think they ought to be created by the X system. Currently,
you kinda get them by default IF you install any of the X-related
packages, because unlike rxvt, those other package directly incorporate, eg.
/etc/X11/app-defaults/XTerm
so when the xterm-242-1.tar.bz2 package is unpacked: viola! you have
/etc/X11/app-defaults/
But, none of those packages SHOULD be doing it that way. They SHOULD be
doing it the rxvt way, where the "default defaults" are installed into
/etc/defaults/etc/X11/app-defaults/
and a postinstall script copies the file from there into
/etc/X11/app-defaults/ if and only if the current copy has not been
changed from the previous /etc/default/ version. (That is, *preserve
user customizations*). None of the other packages do that.
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.
I'll enhance the rxvt postinstall script to handle that in a future release.
--
Chuck
--
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