Bug#679689: code-aster-run: unowned files after purge (policy 6.8, 10.8): /etc/codeaster/asrun

Julien Cristau julien.cristau at logilab.fr
Mon Jul 2 15:56:31 UTC 2012


On Mon, Jul  2, 2012 at 15:20:12 +0200, trophime wrote:

> Hi,
> I just simply force the "not owned" and the directory /etc/codeaster
> to be removed in postrm script and the /etc/codeaster/ ... piuparts no
> longer complains
> 
> But I have an issue then. code-aster-gui installs some scripts in
> /etc/codeaster/astkrc. When purging code-aster-gui unowned files 
> will remain in /etc/codeaster/astkrc. So I remove them and also the
> astkrc directory. How can I deal with /etc/codeaster then?
> 
Something like this in postrm purge?

  rm -f /etc/codeaster/astkrc/foo /etc/codeaster/astkrc/bar
  rmdir -p /etc/codeaster/astkrc || :

Cheers,
Julien
-- 
Julien Cristau          <julien.cristau at logilab.fr>
Logilab		        http://www.logilab.fr/
Informatique scientifique & gestion de connaissances





More information about the debian-science-maintainers mailing list