diff options
author | CCHsu <a12321aabb@gmail.com> | 2017-07-27 22:45:28 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-07-28 06:11:32 +0700 |
commit | 2cf43f67532c178dddbb574d8eddcae928e75da8 (patch) | |
tree | 171b58391e48646aa87e4a5560a50e585c6f3289 /system/cwtex-q-fonts-TTFs/doinst.sh | |
parent | 9117f6326af7cfd5dc767ccadcb8278adc9090fb (diff) | |
download | slackbuilds-2cf43f67532c178dddbb574d8eddcae928e75da8.tar.gz |
system/cwtex-q-fonts-TTFs: Added (modified cwTeX TTF fonts).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/cwtex-q-fonts-TTFs/doinst.sh')
-rw-r--r-- | system/cwtex-q-fonts-TTFs/doinst.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/system/cwtex-q-fonts-TTFs/doinst.sh b/system/cwtex-q-fonts-TTFs/doinst.sh new file mode 100644 index 0000000000..8fec9f5340 --- /dev/null +++ b/system/cwtex-q-fonts-TTFs/doinst.sh @@ -0,0 +1,11 @@ +# Update the X font indexes: +if [ -x /usr/bin/mkfontdir ]; then + ( cd /usr/share/fonts/TTF + mkfontscale . + mkfontdir . + ) +fi + +if [ -x /usr/bin/fc-cache ]; then + /usr/bin/fc-cache -f +fi |