diff options
author | B. Watson <urchlay@slackware.uk> | 2023-03-08 00:03:05 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-03-12 08:48:27 +0700 |
commit | bc4733a7a9174d1ddd193489037274c7ee4d75b6 (patch) | |
tree | 0551a214645412a663238cf2f9b2627c0b0ad20e /system/ttf-ancient-fonts/doinst.sh | |
parent | a11b4ebfde2e41fe3c507a8f16d68f17c427f748 (diff) | |
download | slackbuilds-bc4733a7a9174d1ddd193489037274c7ee4d75b6.tar.gz slackbuilds-bc4733a7a9174d1ddd193489037274c7ee4d75b6.tar.xz |
system/ttf-ancient-fonts: Add douninst.sh.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/ttf-ancient-fonts/doinst.sh')
-rw-r--r-- | system/ttf-ancient-fonts/doinst.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/system/ttf-ancient-fonts/doinst.sh b/system/ttf-ancient-fonts/doinst.sh index 2b48ae510c..51eba0ed68 100644 --- a/system/ttf-ancient-fonts/doinst.sh +++ b/system/ttf-ancient-fonts/doinst.sh @@ -8,6 +8,9 @@ if [ -x /usr/bin/mkfontdir ]; then mkfontdir . ) fi + +[ "$DISPLAY" != "" ] && xset fp rehash 2>/dev/null + if [ -x /usr/bin/fc-cache ]; then /usr/bin/fc-cache -f fi |