diff --git a/.scripts/doors/install_min_arch b/.scripts/doors/install_min_arch index 6601d51..fef3d02 100755 --- a/.scripts/doors/install_min_arch +++ b/.scripts/doors/install_min_arch @@ -2,23 +2,15 @@ cd - -if [ -x $(command -v yay) ]; then - $USER_HAS_YAY = true -else - $USER_HAS_YAY = false +if test -d yay; then + rm -rf yay fi -if [ "$USER_HAS_YAY" = false ]; then - 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 -fi +git clone https://aur.archlinux.org/yay.git && + cd yay && + makepkg -si --noconfirm && + cd && + rm -rf yay # Base/Shell yay -S --needed --noconfirm \