archrelease: copy trunk to extra-x86_64
[arch-packages.git] / xorg-mkfontdir / trunk / xorg-mkfontdir.script
blobcca3afc0825ebc38f4b349adbbeb9c0567e96f43
1 #!/bin/bash
3 sort -r | while read -r d; do
4 [[ -d $d ]] || continue
5 mkfontscale "$d"
6 mkfontdir "$d"
7 find "$d"fonts.{scale,dir} -maxdepth 0 -size -3c -delete
8 rmdir --ignore-fail-on-non-empty "$d"
9 done