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

Re: Bug#193367: emacs-goodies-el: Can't remove package properly



Sacha Chua <sacha@free.net.ph> wrote:

> Peter S Galbraith <psg@debian.org> writes:
> 
> > If I do `apt-get remove emacs-goodies-el' which is a pretty method these
> > days, or if I `dpkg --remove emacs-goodies-el', the _config_ file
> > /etc/emacs/site-start.d/50emacs-goodies-el.el
> 
> As an upstream maintainer (planner-el, a pretty handy organizer)
> hoping to learn how to make good Debian packages, I'm looking forward
> to learning the Right Way to do things. I'm having the same problems
> here. I have to mark the autoloads in site-start.d as a conffile so
> that lintian doesn't complain, but because they're config files, they
> don't get removed unless the package is purged.
> 
> I took a look at gnus, but it seems to have its own custom
> emacsen.install - at least, it's not the emacsen-install debhelper
> gives me, and the debian/rules looks a bit confusing. I still need
> debhelper - training wheels!
> 
> Should I stick something into one of those rm scripts? What's the
> Right Thing to Do?


See my suggestion in:

 http://bugs.debian.org/193439

Just add a condition on a file from the package being there to run the
code.

Peter



Reply to: