Subject: Re: Proposal: new binary package format
To: Matthias Scheler <tron@lyssa.owl.de>
From: Todd Vierling <tv@pobox.com>
List: tech-pkg
Date: 05/31/1999 10:41:19
On 31 May 1999, Matthias Scheler wrote:
: > - the currently installed package will always have an example file installed
: > - the config file can be copied somewhere else, e.g. /etc, without too
: > many complications
:
: Ok. But what I want to avoid is that this configuration file will remain
: there even after the package is completely gone.
If you re-read what I said, it would be trivial to add an option to
pkg_delete that will delete files marked by:
@config %D/etc/foo/bar
because, of course, you have the pathname right there in your +CONTENTS. ;)
: > @unexec rmdir %D/blah/foo 2>/dev/null || true
:
: Yes, how do we call it? "@trydirrm"?
Hm. @idirrm (i for "ignore error")?
--
-- Todd Vierling (Personal tv@pobox.com; Bus. todd_vierling@xn.xerox.com)