Only install if not there
This commit is contained in:
parent
5a35a2c3bc
commit
bba771580a
@ -2,6 +2,7 @@ yay -Sy --noconfirm --needed ttf-font-awesome
|
||||
|
||||
mkdir -p ~/.local/share/fonts
|
||||
|
||||
if ! fc-list | grep -qi "CaskaydiaMono Nerd Font"; then
|
||||
cd /tmp
|
||||
wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/CascadiaMono.zip
|
||||
unzip CascadiaMono.zip -d CascadiaFont
|
||||
@ -15,3 +16,4 @@ rm -rf iafonts.zip iaFonts
|
||||
|
||||
fc-cache
|
||||
cd -
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user