Skip to content

Commit

Permalink
query fontconfig to determine if Noto Color Emoji is installed (#1083)
Browse files Browse the repository at this point in the history
  • Loading branch information
tritoke authored Feb 28, 2024
1 parent 3b0d787 commit fe0f7d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-nix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ elif [[ "$(expr substr $(uname -s) 1 5)" == "Linux" ]]; then
rm "$LIN64_ZIP"
fi

if [[ -e ~/.fonts/NotoColorEmoji.ttf ]]; then
if [[ "$(fc-list NotoColorEmoji | wc -l)" -gt 0 ]]; then
echo "[=] Found Noto Emoji Font, skipping install"
else
echo "[=] Installing Noto Emoji Font"
Expand Down

0 comments on commit fe0f7d6

Please sign in to comment.