Re: Registering files at installtion time
Norbert Preining <firstname.lastname@example.org> wrote:
> On Die, 20 Sep 2005, Ralf Stubner wrote:
>> Is there any recommended way to register files with dpkg, when these
>> files are created only during installation?
>> Storing the fonts in .t1c instead of .pfb format halfs the size of the
>> package, which would be quite nice to have. The problem is that most
>> programs don't understand the .t1c format. Therefore the fonts are
>> converted to .pfb format during installation. This of course means that
>> they are not under dpkg control. They could get overwritten by other
>> packages etc.
> What I did is the following:
> . create empty files instead of the real .pfb files
> . call dh_md5sums
> . change the DEBIAN/md5sums file to contain the real ones
Where do the real ones coming from?
> . build the deb package
Why not build the package the standard way and after dh_md5sums make a
">$file" (truncate the files)?
This is more transparent and the user can see, that the md5sums used are
the correct ones.
Nutze die Talente, die du hast. Die Wälder wären sehr still,
wenn nur die begabtesten Vögel sängen. (Henry van Dyke)