Cygwin 1.7: Possible error in /etc/postinstall/rxvt.sh
Charles Wilson
cygwin@cwilson.fastmail.fm
Sun Jun 21 00:44:00 GMT 2009
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
More information about the Cygwin
mailing list