You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#! /usr/bin/env bash
|
|
|
|
if [[ ! -f "/usr/bin/yay" ]] ; then
|
|
# no yay
|
|
sudo pacman -S --needed --noconfirm base-devel
|
|
rm -rf /tmp/yay
|
|
mkdir -p /tmp/yay
|
|
git clone https://aur.archlinux.org/yay.git /tmp/yay
|
|
cd /tmp/yay
|
|
makepkg -si --noconfirm
|
|
fi
|
|
|
|
echo "Yay installed"
|