From 8c5f578ea2b7f920444aa399cf397915ef63cd88 Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Thu, 4 Feb 2021 02:30:01 +0100 Subject: . --- yay/install.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 yay/install.sh (limited to 'yay/install.sh') 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 {}") -- cgit v1.2.3-70-g09d2