diff options
author | vvoody <vvoodywang@gmail.com> | 2012-12-28 20:36:36 -0500 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-12-29 22:25:35 -0500 |
commit | f8a7fe5abbf02956acdfd9e9a9550b67bae60a79 (patch) | |
tree | 83d2da3f2aa1e0b43988ebe6f14fa87c14ceb679 /system/wqy-microhei-font-ttf/doinst.sh | |
parent | 55e3705248a89f4fc48360d690081acef539f69e (diff) |
system/wqy-microhei-font-ttf: Added (Wen Quan Yi Micro Hei CJK Font)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/wqy-microhei-font-ttf/doinst.sh')
-rw-r--r-- | system/wqy-microhei-font-ttf/doinst.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/system/wqy-microhei-font-ttf/doinst.sh b/system/wqy-microhei-font-ttf/doinst.sh new file mode 100644 index 0000000000000..e9c87ecd722c1 --- /dev/null +++ b/system/wqy-microhei-font-ttf/doinst.sh @@ -0,0 +1,11 @@ +# There's no need to chroot and do this during initial +# install, since there is a post-install script that +# does the same thing, saving time. +# Update X font indexes and the font cache: +if [ -x /usr/bin/mkfontdir ]; then + /usr/bin/mkfontscale /usr/share/fonts/TTF + /usr/bin/mkfontdir /usr/share/fonts/TTF +fi +if [ -x /usr/bin/fc-cache ]; then + /usr/bin/fc-cache /usr/share/fonts/TTF +fi |