From a510034216ce37ac0f82afabe77c38aa058cc3fb Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Mon, 8 Feb 2021 20:05:52 +0100 Subject: . --- yay/install.sh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'yay/install.sh') diff --git a/yay/install.sh b/yay/install.sh index ba7eaf7..48ee1c8 100755 --- a/yay/install.sh +++ b/yay/install.sh @@ -1,15 +1,8 @@ #!/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 --save --sudo doas yay -S --needed --noconfirm \ $(cat ~/.dotfiles/yay/packages.txt | \ xargs -I{} sh -c \ "(pacman -Q {} &> /dev/null) || echo {}") -yay --save --sudo doas + -- cgit v1.2.3-70-g09d2