cygport suggestion: src_postinstall

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Mon Mar 12 18:33:00 GMT 2012


On 2012-03-12 06:47, Ken Brown wrote:
> This looks good. Thanks! With this patch, I'm happy with the texlive
> postinstall scripts except possibly for the fc-cache issue that I raised
> in a different thread. What do you think about that? The solution I
> proposed is pretty ugly. I'm sure there's a better way.

Right, I added that last night after sending my patch, by appending to 
__prep_texlive():

   for d in /usr/share/texmf{-dist,}/fonts/{opentype,truetype,type1}
   do
     if [ -d ${D}${d} ]
     then
       cat >> ${D}/etc/postinstall/${PN}.sh <<-_EOF
              /usr/bin/fc-cache -f $d
       _EOF
     fi
     break
   done


Yaakov



More information about the Cygwin-apps mailing list