mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-13 03:19:01 +08:00
13 lines
344 B
Plaintext
13 lines
344 B
Plaintext
|
#!/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
|
||
|
|