diff options
author | Eric Hameleers <alien@slackware.com> | 2013-03-22 16:47:17 -0700 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2013-03-22 16:47:17 -0700 |
commit | 69dd99f961988fa15da8d7f0d63b62f3385419c3 (patch) | |
tree | d57eb3e85e1d08e7815787de26946ee42c398b66 /source.local/x/x11/doinst.sh/font-bh-type1 | |
download | alienarm-69dd99f961988fa15da8d7f0d63b62f3385419c3.tar.gz alienarm-69dd99f961988fa15da8d7f0d63b62f3385419c3.tar.xz |
Initial commit of a Slackware cross-arch bootstrap framework.
Diffstat (limited to 'source.local/x/x11/doinst.sh/font-bh-type1')
-rw-r--r-- | source.local/x/x11/doinst.sh/font-bh-type1 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/source.local/x/x11/doinst.sh/font-bh-type1 b/source.local/x/x11/doinst.sh/font-bh-type1 new file mode 100644 index 0000000..e3951269 --- /dev/null +++ b/source.local/x/x11/doinst.sh/font-bh-type1 @@ -0,0 +1,11 @@ +#!/bin/sh +# Update the X font indexes: +if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then + ( cd /usr/share/fonts/Type1 + mkfontscale . + mkfontdir . + ) +fi +if [ -x /usr/bin/fc-cache ]; then + /usr/bin/fc-cache -f +fi |