From 404ed5eeafab1102830fa3dadf8eee88ea918326 Mon Sep 17 00:00:00 2001 From: Christoffer Martinsson Date: Mon, 5 May 2025 11:56:13 +0200 Subject: [PATCH] Updated script --- update_arch.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/update_arch.sh b/update_arch.sh index 5c3df14..e571e18 100755 --- a/update_arch.sh +++ b/update_arch.sh @@ -233,7 +233,9 @@ fi # Install terminal utility if [ "${ROLES[TERMINAL]}" == "yes" ]; then printf -- '\033[33m Installing terminal utilities\n\033[37m' - sudo pacman --noconfirm -R gnu-free-fonts + if pacman -Qs gnu-free-fonts >/dev/null; then + sudo pacman --noconfirm -R gnu-free-fonts + fi sudo pacman --noconfirm --needed -S alacritty btop ranger tmux fd neovim ttf-firacode-nerd ttf-nerd-fonts-symbols cargo install ripgrep eza