diff options
Diffstat (limited to 'misc/gnu-unifont/doinst.sh')
-rw-r--r-- | misc/gnu-unifont/doinst.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/misc/gnu-unifont/doinst.sh b/misc/gnu-unifont/doinst.sh new file mode 100644 index 0000000000..dfef345e43 --- /dev/null +++ b/misc/gnu-unifont/doinst.sh @@ -0,0 +1,10 @@ +# Update the X font indexes: +if [ -x /usr/bin/mkfontdir ]; then + ( cd /usr/share/fonts/misc ; mkfontscale . ; mkfontdir . ) + ( cd /usr/share/fonts/TTF ; mkfontscale . ; mkfontdir . ) +fi + +if [ -x /usr/bin/fc-cache ]; then + /usr/bin/fc-cache -f +fi + |