On 12/18/2014 10:40 AM, Marco Atzeri wrote:
On 12/18/2014 9:22 AM, Achim Gratz wrote:
Ken Brown writes:
+ if [ -d /usr/share/texmf-dist ]
Looks like you'd want
if [ -d ${D}/usr/share/texmf-dist ]
here.
In postinstall scripts we remove the updmap calls completely and
instead create a file of commands in /etc/texmf/postinstall, to be run
by a perpetual postinstall script. In preremove scripts we just group
the commands into a single call to updmap, since setup.exe doesn't yet
support perpetual preremove scripts.
I don't really like the idea of using /etc directly for this, what if
every package starts doing that? If /usr/share/<package>/postinstall
/usr/share/postinstall/<package>
brain still starting
/etc/postinstall/<package>
please
doesn't work, we should at least create a subdirectory in /etc for this
purpose.
Regards,
Achim.