[csw-maintainers] cswclassutils splitting
Philip Brown
phil at bolthole.com
Tue Oct 12 03:50:23 CEST 2010
On 10/11/10, Ben Walton <bwalton at opencsw.org> wrote:
>
>
> I see a few options for handling this:
>
> 1. Include it as part of CSWcommon.
> 2. Have any script that uses it do:
> [ -d /var/opt/csw/cswclassutils ] || mkdir -p /var/opt/csw/cswclassutils
> 3. Have the same action as above, but put it in a postinstall script
> for any package requiring the directory.
>
> I personally favour option 2, but would like to hear what others think.
>
I think option 2 would be best, when combined with a prototype entry
for it as well.
The whole point of classutils, is to remove postinstall scripts, so
having them trigger one rather goes against the grain :)
Class action scripts should, in my opinion, be very VERY resilient, so
the conditional mkdir sounds like an exellent safety measure.
More information about the maintainers
mailing list