(forwarding along to the list too, in case any other emacxperts would
like to chime in)
--- Begin Message ---
On Thursday, 15 December 2005 at 15:52, Sebastien Maret wrote:
> The following message is a courtesy copy of an article
> that has been posted to gmane.os.apple.fink.devel as well.
>
> Brendan Cully <[EMAIL PROTECTED]> writes:
>
> > Update of /cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/net
> > In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27005
> >
> > Added Files:
> > erc.info erc.patch
> > Log Message:
> > New package from tracker #1236469
>
> Doesn't work for me. Emacs says that it can't open erc-compat.el. It's
> probably not byte-compiled and removed by:
>
> rm -f @PREFIX@/share/${FLAVOR}/site-lisp/erc/*.el;
>
> in the PostInstScript. Copying it from /sw/share/emacs/site-lisp/erc to
> /sw/share/emacs22/site-lisp/erc solves the problem.
Bah. I spent a while arguing that the .el files should be removed, and
now this :)
So, I guess either keep symlinks of all the *.el in the $FLAVOR
directories, or maybe just keep symlinks of *.el files that don't have
corresponding *.elc. Untested:
for i in @PREFIX@/share/${FLAVOR}/site-lisp/erc/*.el; do \
if test -f ${i}c; then rm $i; fi; done
--- End Message ---