check for yay to save time
This commit is contained in:
parent
12c6966fd6
commit
2584efabd9
1 changed files with 7 additions and 5 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Reference in a new issue