diff options
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 |