post-install 459 B

123456789101112131415161718
  1. # This will be performed on the local filesystem
  2. if test "$rootdir" = "" || test "$rootdir" = /
  3. then
  4. echo ""
  5. echo "Updating X font index cache for all available fonts at"
  6. echo "/usr/share/fonts/X11/ ..."
  7. echo ""
  8. for directory in /usr/share/fonts/X11/*
  9. do
  10. echo "Using \`mkfontscale' for fonts.dir at $directory"
  11. mkfontscale -b -s -l "$directory" && mkfontscale "$directory"
  12. done
  13. unset directory
  14. echo ""
  15. fi