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
|
rm -rf yay
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git clone https://aur.archlinux.org/yay.git &&
|
if ! type "yay" &> /dev/null; then
|
||||||
cd yay &&
|
git clone https://aur.archlinux.org/yay.git &&
|
||||||
makepkg -si --noconfirm &&
|
cd yay &&
|
||||||
cd &&
|
makepkg -si --noconfirm &&
|
||||||
rm -rf yay
|
cd &&
|
||||||
|
rm -rf yay
|
||||||
|
fi
|
||||||
|
|
||||||
# Base/Shell
|
# Base/Shell
|
||||||
yay -S --needed --noconfirm \
|
yay -S --needed --noconfirm \
|
||||||
|
|
Loading…
Add table
Reference in a new issue