Only install yay if its not there
This commit is contained in:
1 parent
09c5da1d64
commit
7324a30ae9
1 file changed
+3
@@ -1,6 +1,9 @@
|
||||
sudo pacman -S --needed --noconfirm base-devel
|
||||
|
||||
if ! command -v yay &>/dev/null; then
|
||||
git clone https://aur.archlinux.org/yay-bin.git
|
||||
cd yay-bin
|
||||
makepkg -si --noconfirm
|
||||
cd ~
|
||||
rm -rf yay-bin
|
||||
fi
|
||||
Reference in new issue
Block a user