[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: emacsen: need plan to fix leftover cruft in share/emacs/XX.Y...



Rob Browning wrote:

> "Davide G. M. Salvetti" <salve@debian.org> writes:
> 
> > The proper place to remove that cruft is
> > /usr/lib/emacsen-common/packages/remove/<package>.
> 
> Well, add-on packages that leave files around won't need it.  Also,
> how would emacsen-common know which old directories to clean up --

Here's my understanding:

 /usr/lib/emacsen-common/packages/remove/<package>

is called either when you remove said package, or when you remove
an Emacs flavour.  So when you remove Emacs-20.7 in favour of
Emacs-21.1, the script will get called and remove <packages>'s
cruft from /usr/share/${flavour}/site-lisp/

Right?
Isn't that okay?

Peter



Reply to: