blob: ce300af7c7b832518eb9e2eb84de22db80ea6f32 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
if ! (which yay > /dev/null); then
cd $(dirname "$0")
sudo pacman -S --needed --noconfirm git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
fi
yay -S --needed --noconfirm \
$(cat ~/.dotfiles/yay/packages.txt | \
xargs -I{} sh -c \
"(pacman -Q {} &> /dev/null) || echo {}")
|