From bd30c8e6e3917f14b354f51e3b6eeaf2184f9d16 Mon Sep 17 00:00:00 2001 From: Adam <24621027+adoyle0@users.noreply.github.com> Date: Mon, 6 Feb 2023 02:18:52 -0500 Subject: [PATCH] breaking my balls --- .scripts/doors/install_min_arch | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) 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 \