check for yay to save time

This commit is contained in:
Adam 2023-02-06 09:56:30 -05:00
parent 12c6966fd6
commit 2584efabd9

View file

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