diff options
author | Alex-P. Natsios <drakevr@2f30.org> | 2014-05-18 22:33:02 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-05-18 22:33:02 +0700 |
commit | 95a7ae9d46026aa1f4c5a78e6f17197da437cf5b (patch) | |
tree | 12b52686b1b4a5045f26ca7096ab0cb3bef84f2e /system/otf-hermit/doinst.sh | |
parent | 6fe501423e44466701f54c3cdee03bfc31c88ef4 (diff) | |
download | slackbuilds-95a7ae9d46026aa1f4c5a78e6f17197da437cf5b.tar.gz |
system/otf-hermit: Added (monospace font).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/otf-hermit/doinst.sh')
-rw-r--r-- | system/otf-hermit/doinst.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/system/otf-hermit/doinst.sh b/system/otf-hermit/doinst.sh new file mode 100644 index 0000000000..63c309975f --- /dev/null +++ b/system/otf-hermit/doinst.sh @@ -0,0 +1,12 @@ +# Update mkfontscale and mkfontdir: +if [ -x /usr/bin/mkfontdir ]; then + ( cd /usr/share/fonts/misc + mkfontscale . + mkfontdir . + ) +fi + +# Update the X font indexes: +if [ -x /usr/bin/fc-cache ]; then + /usr/bin/fc-cache -f +fi |