summaryrefslogtreecommitdiffstats
path: root/fonts-x11/inter/INSTALL
blob: 158846972c118d722cdd0e895eb6c3940b41839d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
local TTF_DIR="${INSTALL_ROOT}/usr/share/fonts/X11/TTF" &&
local OTF_DIR="${INSTALL_ROOT}/usr/share/fonts/X11/OTF" &&

case "${INTER_FORMAT}" in
  ttf)
    if [ ! -d "${TTF_DIR}" ]; then
      install -vm 755 -d "${TTF_DIR}"
    fi &&

    install -vm 644 "Inter UI (TTF)"/*.ttf "${TTF_DIR}"
  ;;
  ttf-hinted)
    if [ ! -d "${TTF_DIR}" ]; then
      install -vm 755 -d "${TTF_DIR}"
    fi &&

    install -vm 644 "Inter UI (TTF hinted)"/*.ttf "${TTF_DIR}"
  ;;
  otf)
    if [ ! -d "${TTF_DIR}" ]; then
      install -vm 755 -d "${TTF_DIR}"
    fi &&

    install -vm 644 "Inter (OTF)"/*.otf "${OTF_DIR}"
  ;;
esac