On 2017/05/01 12:44, Paul Irofti wrote:
> > Since you install into texmf-local, you need to re-hash this folder upon
> > package installation and removal. Look at other ports which install into
> > texmf-local for examples.
>
> I was unable to locate an example performing install/uninstall
> rehashing. Can you please be more specific and point me at an example
> port?
So many methods to choose from :-)
@exec %D/bin/mktexlsr %D/share/texmf-local > /dev/null 2>&1
@unexec %D/bin/mktexlsr %D/share/texmf-local > /dev/null 2>&1
@exec TEXMFMAIN=%D/share/texmf %D/bin/mktexlsr
@unexec TEXMFMAIN=%D/share/texmf %D/bin/mktexlsr
@exec %D/bin/mktexlsr
@unexec %D/bin/mktexlsr
@exec %D/bin/mktexlsr > /dev/null 2>&1
@unexec-delete %D/bin/mktexlsr > /dev/null 2>&1
@exec mktexlsr > /dev/null 2>&1
@exec mktexlsr > /dev/null 2>&1
@unexec-delete mktexlsr > /dev/null 2>&1
Or nothing, in the case of education/verbiste.
No comments:
Post a Comment