mtxrun.script 326 B

1234567891011
  1. #!/bin/bash
  2. (cd /etc/texmf && /usr/bin/mtxrun.lua --generate >/dev/null)
  3. # We need to remove directory "." from luatex cache to avoid absurd behavior
  4. for item in /var/lib/texmf/luatex-cache/context/*/trees/*.lua; do
  5. if grep -F '["root"]="."' "$item" >/dev/null; then
  6. rm -f "$item" "${item%.lua}.luc"
  7. fi
  8. done