blob: 83476e4c2175826d98558f632b4dd15ab75f633c (
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 "${INTERFACE_FORMAT}" in
ttf)
if [ ! -d "${TTF_DIR}" ]; then
install -vm 755 -d "${TTF_DIR}"
fi &&
install -vm 644 "Interface (TTF)"/*.ttf "${TTF_DIR}"
;;
ttf-hinted)
if [ ! -d "${TTF_DIR}" ]; then
install -vm 755 -d "${TTF_DIR}"
fi &&
install -vm 644 "Interface (hinted TTF)"/*.ttf "${TTF_DIR}"
;;
otf)
if [ ! -d "${TTF_DIR}" ]; then
install -vm 755 -d "${TTF_DIR}"
fi &&
install -vm 644 "Interface (OTF)"/*.otf "${OTF_DIR}"
;;
esac
|