Subject: Re: PLIST and files created by the package
To: Antti Kantee <pooka@iki.fi>
From: Tomasz Luchowski <zuntum@eik.pl>
List: tech-pkg
Date: 02/03/2001 12:40:39
On Sat, Feb 03, 2001 at 01:21:32PM +0200, Antti Kantee wrote:
> On Sat Feb 03 2001 at 11:36:03 +0100, Tomasz Luchowski wrote:
> > I'm packaging RFCutil (it allows you to specify the number of an RFC,
> > or a search string, and it returns all related RFCs). When user runs
> > it for the first time with "-i" switch, ${PREFIX}/etc/rfc-index file
> > is created. How should I fill in the PLIST? If I won't list
> > etc/rfc-index in it, and file won't be removed when user deletes the
> > package... if I'll do so, when user deletes the package without
> > running rfc "-i" before, pkg_delete will complain about nonexistent
> > file.
> >
> > What's the proper way?
>
> There may be a better way, but here's one idea:
> You could run it with -i already as part of the installation procedure.
> That way the file exists always and you can put it in PLIST.
The file is about 400KB, I don't think it's good idea to force user to wait
for it to download at install stage...
--
/* [zuntum] zuntum@eik.pl , [WWW] http://zuntum.net */