On Mon, 2006-08-14 at 18:47 +1200, Matt Brown wrote: > Thijs Kinkhorst wrote: > > On Thu, 2006-08-10 at 10:53 -0400, sean finney wrote: > >> there are some hinting variables which you can use to specify > >> the defaults. i believe they're dbc_generate_include_owner and > >> dbc_generate_include_mode, though don't trust my memory. there should > >> also be something like dbc_generate_include_args for even more > >> control. > > > > Yes, but this is about the database that is created by sqlite, not the > > include file. Maybe we should have the same set of variables for any > > backend that creates a database file on the local filesystem, that > > performs the same chown / chmod like with the include file. > > New packages at > http://www.mattb.net.nz/debian/dists/sid/main/source/admin/ now have two > variables dbc_owner and dbc_perms modeled off the dbc_generate_include_ > versions to allow you to hint at the desired settings. > > Let me know how it goes.
It works just fine, thanks! The variable is not called "dbc_perms" but "dbc_mode", however. It would be nice to put this as an example in the postinst of the sqlite example package, maybe commented out, but as a hint that this is possible. I think this is ready for release, at least from my point of view, great work! Thijs
signature.asc
Description: This is a digitally signed message part