bug 266981

G. Milde g.milde@web.de
Tue, 3 May 2005 08:51:00 +0200


On  2.05.05, Jörg Sommer wrote:
> Rafael Laboissiere schrieb am Sun 01. May, 18:41 (+0200) :
> > * Jörg Sommer <joerg@alea.gnuu.de> [2005-05-01 16:54]:
> > 
> > > what to do with #266981? It discribes that 00site.sl and 99defaults.sl
> > > aren't removed from /etc/jed-init.d/. 
> > 
> > I think that these files existed at some point in testing.  People
> > who installed the version of the jed-common package that contained
> > them have the files left in the system after the upgrade.
> 
> But we can't remove the files, because a user may have made changes in it
> and we would remove its private config.
> 
> How deal other packages with such problems. I think the special here is
> /etc

IMHO, we should emulate the behaviour of debconf in case the package
maintainer provided a new package:
 
 for file in [00site.sl, 99defaults.sl]:
 
   test whether the user|administrator changed it
   if not: 
      remove without asking
   else:
      """jed-commond does no longer include the `file` in /etc/jed-init.d/.
       
       You or a script has modified this file
       
       R rename to `file`.dpkg-old
       K keep
       ...
       """

Günter       

       
       
       



-- 
G.Milde web.de