xref: /OK3568_Linux_fs/device/rockchip/common/fonts/install.sh (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1#!/bin/bash -e
2
3TARGET_DIR="$1"
4[ "$TARGET_DIR" ] || exit 1
5
6OVERLAY_DIR="$(dirname "$(realpath "$0")")"
7cd "$OVERLAY_DIR"
8
9for f in *.tar; do
10	echo "Installing extra font(${f%.tar}) to $TARGET_DIR..."
11	tar xf "$f" -C "$TARGET_DIR"
12done
13