Rob Browning wrote: > Peter S Galbraith <[EMAIL PROTECTED]> writes: > > > e.g. my remove script could be: > > How about adding this snippet instead: > > if [ ${flavour} = emacs20 ] > then > ... > rm -f /usr/share/emacs/20.3/site-lisp/gri-mode.CompilationLog.gz > rm -f /usr/share/emacs/20.4/site-lisp/gri-mode.CompilationLog.gz > rm -f /usr/share/emacs/20.5/site-lisp/gri-mode.CompilationLog.gz > rm -f /usr/share/emacs/20.6/site-lisp/gri-mode.CompilationLog.gz > ... > fi > > This wouldn't be optimal, but seems like the safe thing to do. If > people file bug reports for other files/flavors, other snippets like > the above could be inserted. > > This seems like maybe about as far as we should go handling old > cruft-wize.
I understand your hesitation, but that leaves cruft under /usr/share/emacs/19.34 if that version has already been purged and will never be installed again. It also leaves behind cruft in /usr/share/xemacs20/site-lisp/ for users who have upgraded to xemacs21 and haven't looked back, or even in /usr/share/xemacs21/site-lisp/ for users who have tried xemacs and decided to go back to emacs! :-( Peter