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

Bug#868496: debian-policy: Please Clarify Need for update-fonts-dir in postinst and postrm Scripts



On Sat, Jul 15, 2017 at 09:57:32PM -0700, Paul Hardy wrote:
> "Font packages must invoke update-fonts-dir on each directory into
> which they install fonts.  This invocation must occur in both the
> postinst (for all arguments) and postrm (for all arguments except
> upgrade) scripts."
> 
> Strictly speaking this is correct, but it could be taken to mean that
> a font packager must have postinst and postrm scripts in their
> package's debian directory.  That is no longer necessary.  I suggest
> appending the following to the above paragraph:
> 
> "Note: if your build scripts invoke dh_installxfonts, this is handled
> automatically and it is not necessary to create postinst or postrm
> files in your debian directory for this purpose.  See
> dh_installxfonts(1)."
No, the policy doesn't talk about dh_* and other helpers (except in
footnotes).

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature


Reply to: