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

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



"John H. Robinson, IV" <jhriv@ucsd.edu> writes:

> 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.

Why not use one directory in a standard place, like
/lib/share/package/. If the admin doesn't like the data there he can
link that dir to another place or mount a partition there.

The problem with having it in a random place is finding it again,
especially when the previous admin runs away to a better paid job and
you are left with the remains.

MfG
        Goswin



Reply to: