mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
12 lines
344 B
Bash
12 lines
344 B
Bash
#!/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
|
|
|