Fix not uncompressing font issue

This commit is contained in:
Rodolfo 2024-07-02 16:54:40 +08:00
parent 48d31c99d5
commit 857b8a22ae

View file

@ -113,7 +113,7 @@ echo ""
# Get JetBrainsMono font # Get JetBrainsMono font
while true; do while true; do
read -p "Do you want to install JetBrainsMono Nerd Font?" answer read -p "Do you want to install JetBrainsMono Nerd Font? (y/n):" answer
if [[ "${answer}" == "y" ]]; then if [[ "${answer}" == "y" ]]; then
font_PATH="$home_PATH/.local/share/fonts" font_PATH="$home_PATH/.local/share/fonts"
if [[ ! -d $font_PATH ]]; then if [[ ! -d $font_PATH ]]; then
@ -122,7 +122,8 @@ while true; do
mkdir $font_PATH/JetBrainsMono mkdir $font_PATH/JetBrainsMono
cd $font_PATH/JetBrainsMono cd $font_PATH/JetBrainsMono
wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/JetBrainsMono.tar.xz wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/JetBrainsMono.tar.xz
cd $font_PATH/JetbrainsMono && tar -xvf JetBrainsMono.tar.xz echo ""
tar -xvf "JetBrainsMono.tar.xz"
cd "" cd ""
echo "" echo ""
break break