From a0c677ce418509115ae1959657ec22e45047d097 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 17 Jun 2025 10:09:26 +0200 Subject: [PATCH] Only attempt install if not already there --- boot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot.sh b/boot.sh index ed53b2d..0cc53ad 100644 --- a/boot.sh +++ b/boot.sh @@ -10,7 +10,7 @@ ascii_art=' ▄██████▄ ▄▄▄▄███▄▄▄▄ echo -e "\n$ascii_art\n\n" -sudo pacman -Sy --noconfirm --needed git >/dev/null +pacman -Q git &>/dev/null || sudo pacman -Sy --noconfirm --needed git echo -e "\nCloning Omarchy..." rm -rf ~/.local/share/omarchy/