mkfontscale/mkfontscale.install
2024-04-15 22:53:16 +08:00

9 lines
299 B
Plaintext

post_install() {
if [[ -d /usr/share/fonts ]]; then
echo -n "Creating X fontdir indices..."
find /usr/share/fonts -mindepth 1 -path /usr/share/fonts/encodings -prune \
-o -type d -printf '%p/\n' | /usr/share/libalpm/scripts/mkfontscale
echo " done."
fi
}