From 857b8a22aebf61c19c69b9eacbac0140f8a79e96 Mon Sep 17 00:00:00 2001 From: Rodolfo Date: Tue, 2 Jul 2024 16:54:40 +0800 Subject: [PATCH] Fix not uncompressing font issue --- archsetup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/archsetup.sh b/archsetup.sh index d1ae84e..0c0133e 100755 --- a/archsetup.sh +++ b/archsetup.sh @@ -113,7 +113,7 @@ echo "" # Get JetBrainsMono font 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 font_PATH="$home_PATH/.local/share/fonts" if [[ ! -d $font_PATH ]]; then @@ -122,7 +122,8 @@ while true; do mkdir $font_PATH/JetBrainsMono cd $font_PATH/JetBrainsMono 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 "" echo "" break