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