LI Daobing <[EMAIL PROTECTED]> writes: > I delete psvn.elc and then everything seems right. > How about delete this file in preinst or postrm?
I don't decide how Subversion is packaged for Debian. I only hack psvn.el in the upstream repository. In my opinion, the best course of action would be to find out why psvn.el was compiled in your computer, and how likely it is that other people are suffering from the same problem. If it was caused by a Debian package, whether subversion or something else, it would make sense to make the Debian subversion package remove the file. To get the file removed as soon as the new version of the package is installed, it should be done in postinst or perhaps preinst, rather than postrm. Do you have other /usr/share/emacs/site-lisp/*.elc files? I believe there shouldn't be any; if Emacs Lisp files of other packages have become compiled there as well, the emacsen-common package might be a better place for the *.elc removing script.
pgpOuRLygpEDH.pgp
Description: PGP signature