diff --git a/.scripts/doors/install_min_arch b/.scripts/doors/install_min_arch index c237d31..5042e18 100755 --- a/.scripts/doors/install_min_arch +++ b/.scripts/doors/install_min_arch @@ -6,11 +6,13 @@ if test -d yay; then rm -rf yay fi -git clone https://aur.archlinux.org/yay.git && - cd yay && - makepkg -si --noconfirm && - cd && - rm -rf yay +if ! type "yay" &> /dev/null; then + git clone https://aur.archlinux.org/yay.git && + cd yay && + makepkg -si --noconfirm && + cd && + rm -rf yay +fi # Base/Shell yay -S --needed --noconfirm \