slackware-current/source/x/hack-fonts-ttf/doinst.sh
Patrick J Volkerding 7256a0c44b Wed Jul 29 19:35:55 UTC 2020
a/kernel-generic-5.4.54-x86_64-1.txz:  Upgraded.
a/kernel-huge-5.4.54-x86_64-1.txz:  Upgraded.
a/kernel-modules-5.4.54-x86_64-1.txz:  Upgraded.
ap/inxi-20200728_6ce9149b-noarch-1.txz:  Added.
  A system information script. Not as flashy as neofetch, but with more useful
  output options. Thanks to drgibbon for the suggestion.
ap/nano-5.0-x86_64-1.txz:  Upgraded.
d/kernel-headers-5.4.54-x86-1.txz:  Upgraded.
d/vala-0.48.8-x86_64-1.txz:  Upgraded.
k/kernel-source-5.4.54-noarch-1.txz:  Upgraded.
l/jasper-2.0.19-x86_64-1.txz:  Upgraded.
x/hack-fonts-ttf-3.003-noarch-1.txz:  Added.
  Thanks to alienBOB.
x/noto-cjk-fonts-ttf-2.001-noarch-1.txz:  Added.
  Thanks to alienBOB.
x/noto-fonts-ttf-20171024-noarch-1.txz:  Added.
  Thanks to alienBOB.
isolinux/initrd.img:  Rebuilt.
kernels/*:  Upgraded.
usb-and-pxe-installers/usbboot.img:  Rebuilt.
2020-07-30 08:59:55 +02:00

9 lines
273 B
Bash

#!/bin/sh
# Update the X font indexes:
if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then
mkfontscale usr/share/fonts/TTF 2> /dev/null
mkfontdir usr/share/fonts/TTF 2> /dev/null
fi
if [ -x /usr/bin/fc-cache ]; then
/usr/bin/fc-cache -f 2> /dev/null
fi