This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygport suggestion: src_postinstall


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]