aboutsummaryrefslogtreecommitdiff
path: root/yay
diff options
context:
space:
mode:
authorbozo.kopic <bozo@kopic.xyz>2021-02-08 20:05:52 +0100
committerbozo.kopic <bozo@kopic.xyz>2021-02-08 20:27:22 +0100
commita510034216ce37ac0f82afabe77c38aa058cc3fb (patch)
tree293d78bd5b7adc33df6b299aa82b8bff64b40d44 /yay
parent802f2d6257f70f58d3199a522ed982fe754abb94 (diff)
.
Diffstat (limited to 'yay')
-rw-r--r--yay/.gitignore1
-rwxr-xr-xyay/install.sh11
2 files changed, 2 insertions, 10 deletions
diff --git a/yay/.gitignore b/yay/.gitignore
deleted file mode 100644
index fad73f6..0000000
--- a/yay/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/yay
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
+