breaking my balls
This commit is contained in:
parent
0445619bc4
commit
bd30c8e6e3
1 changed files with 7 additions and 15 deletions
|
@ -2,23 +2,15 @@
|
||||||
|
|
||||||
cd
|
cd
|
||||||
|
|
||||||
|
|
||||||
if [ -x $(command -v yay) ]; then
|
|
||||||
$USER_HAS_YAY = true
|
|
||||||
else
|
|
||||||
$USER_HAS_YAY = false
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ "$USER_HAS_YAY" = false ]; then
|
|
||||||
if test -d yay; then
|
if test -d yay; then
|
||||||
rm -rf yay
|
rm -rf yay
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git clone https://aur.archlinux.org/yay.git &&
|
git clone https://aur.archlinux.org/yay.git &&
|
||||||
cd yay &&
|
cd yay &&
|
||||||
makepkg -si --noconfirm &&
|
makepkg -si --noconfirm &&
|
||||||
cd &&
|
cd &&
|
||||||
rm -rf yay
|
rm -rf yay
|
||||||
fi
|
|
||||||
|
|
||||||
# Base/Shell
|
# Base/Shell
|
||||||
yay -S --needed --noconfirm \
|
yay -S --needed --noconfirm \
|
||||||
|
|
Loading…
Add table
Reference in a new issue