db-move: moved xdg-desktop-portal-gnome from [testing] to [extra] (x86_64)
[arch-packages.git] / texlive-core / trunk / mktexlsr.script
blob68944153865febbf2d0e64f66c731335852c866d
1 #!/bin/bash
3 /usr/bin/mktexlsr
4 (cd /etc/texmf && /usr/bin/mtxrun --generate >/dev/null)
5 # We need to remove directory "." from luatex cache to avoid absurd
6 # behaviour.
7 for item in /var/lib/texmf/luatex-cache/context/*/trees/*.lua; do
8 if grep -F '["root"]="."' "$item" >/dev/null; then
9 rm -f "$item" "${item%.lua}.luc"
11 done