Only attempt install if not already there

This commit is contained in:
David Heinemeier Hansson
2025-06-17 10:09:26 +02:00
parent b4173429a5
commit a0c677ce41

View File

@ -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/