Subject: Re: Overhauling PLIST command set
To: None <tech-pkg@netbsd.org>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: tech-pkg
Date: 10/29/2005 21:28:34
On 10/28/05, Thomas Klausner <wiz@netbsd.org> wrote:
> @dir
> Directory owned by a package. Replaces @dirrm (and @exec ${MKDIR}).
>
> @shareddir
> Directory used by multiple packages. The first package installed
> using it creates it, last one deinstalled removes it (probably using
> the refcount framework). Replaces @unexec ${RMDIR} (and @exec ${MKDIR}).
I like this but... do we really need to differentiate between the two types=
of
directories? I think we should treat them all as shareddir for
simplicity and to
avoid a lot of extra logic in pkgsrc to explicitly handle shareddirs.
(Ideally, the dirs created by mtree could also be listed so that a
pkg_delete -r "*" removed the whole package prefix.)
--
Julio M. Merino Vidal <jmmv84@gmail.com>
The Julipedia - http://julipedia.blogspot.com/
The NetBSD Project - http://www.NetBSD.org/