mirror of
https://github.com/basecamp/omarchy.git
synced 2025-07-27 12:19:24 +00:00
Only install yay if its not there
This commit is contained in:
@ -1,6 +1,9 @@
|
||||
sudo pacman -S --needed --noconfirm base-devel
|
||||
git clone https://aur.archlinux.org/yay-bin.git
|
||||
cd yay-bin
|
||||
makepkg -si --noconfirm
|
||||
cd ~
|
||||
rm -rf yay-bin
|
||||
|
||||
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