diff options
Diffstat (limited to 'yay/install.sh')
| -rwxr-xr-x | yay/install.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/yay/install.sh b/yay/install.sh new file mode 100755 index 0000000..ce300af --- /dev/null +++ b/yay/install.sh @@ -0,0 +1,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 {}") |
