[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to put files at a location determined at install-time.



On Mon, Dec 31, 2001 at 07:09:41PM +0100, Marc L. de Bruin wrote:
> 
> Therefore it is up to the root-user (and his filesystem) where the files 
> should end up after installation.
> 
> Is this possible? Thanks again,

if this is the case, then i would strongly recomend distributing it as a
tarball, and allowing the admin to extract wherever it is required. the
drawback is that after an upgrade, the admin would have to manually
extract the tarball.

now, if you debconf from the admin where the tarbal should be extracted
to, you can query that, and extract in post-inst with no further
interaction.

so, i guess the answer is yes: distribute the data as a taball, and
query the admin as to where to extract it to. you may even want to rm
the tarbal after extraction.

-john



Reply to: