Skip to content

Commit

Permalink
Update install_fonts.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesBrosy committed Jan 4, 2025
1 parent af8ba9a commit d7abfea
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions install_fonts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ fi

echo "Installing fonts..."
cd "${DIR}/fonts" || exit 1
install -Dm644 ./*.tt* -t "$FONTS_DIR"
for dir in *; do
if [ -d "${dir}" ]; then
install -Dm644 "${dir}"/* -t "/usr/share/fonts/${dir}"
for font in *; do
if [ -d "${font}" ]; then
install -Dm644 "${font}"/* -t "$FONTS_DIR"
else
install -Dm644 "${font}" -t "$FONTS_DIR"
fi
done

Expand Down

0 comments on commit d7abfea

Please sign in to comment.