1
0
mirror of https://github.com/rricharz/Tek4010.git synced 2026-05-08 08:23:49 +00:00
Files
rricharz.Tek4010/apl/install_apl

24 lines
379 B
Bash
Executable File
Vendored

#!/bin/sh
# install_apl - install apl font and build test program
case `uname` in
Darwin)
FONTDIR=$HOME/Library/Fonts
;;
*)
FONTDIR=$HOME/.local/share/fonts
;;
esac
mkdir -p $FONTDIR
cp Apl385.ttf $FONTDIR
mkdir -p $HOME/.tek4010conf
cp aplkeys $HOME/.tek4010conf
if [ "`uname`" != "Darwin" ]; then
fc-cache $FONTDIR
fc-match "APL385 Unicode"
fi
make